a__from(X) → cons(mark(X), from(s(X)))
a__first(0, Z) → nil
a__first(s(X), cons(Y, Z)) → cons(mark(Y), first(X, Z))
a__sel(0, cons(X, Z)) → mark(X)
a__sel(s(X), cons(Y, Z)) → a__sel(mark(X), mark(Z))
mark(from(X)) → a__from(mark(X))
mark(first(X1, X2)) → a__first(mark(X1), mark(X2))
mark(sel(X1, X2)) → a__sel(mark(X1), mark(X2))
mark(cons(X1, X2)) → cons(mark(X1), X2)
mark(s(X)) → s(mark(X))
mark(0) → 0
mark(nil) → nil
a__from(X) → from(X)
a__first(X1, X2) → first(X1, X2)
a__sel(X1, X2) → sel(X1, X2)
↳ QTRS
↳ DependencyPairsProof
a__from(X) → cons(mark(X), from(s(X)))
a__first(0, Z) → nil
a__first(s(X), cons(Y, Z)) → cons(mark(Y), first(X, Z))
a__sel(0, cons(X, Z)) → mark(X)
a__sel(s(X), cons(Y, Z)) → a__sel(mark(X), mark(Z))
mark(from(X)) → a__from(mark(X))
mark(first(X1, X2)) → a__first(mark(X1), mark(X2))
mark(sel(X1, X2)) → a__sel(mark(X1), mark(X2))
mark(cons(X1, X2)) → cons(mark(X1), X2)
mark(s(X)) → s(mark(X))
mark(0) → 0
mark(nil) → nil
a__from(X) → from(X)
a__first(X1, X2) → first(X1, X2)
a__sel(X1, X2) → sel(X1, X2)
MARK(first(X1, X2)) → MARK(X1)
MARK(from(X)) → MARK(X)
MARK(sel(X1, X2)) → MARK(X1)
MARK(sel(X1, X2)) → A__SEL(mark(X1), mark(X2))
MARK(from(X)) → A__FROM(mark(X))
MARK(s(X)) → MARK(X)
A__SEL(s(X), cons(Y, Z)) → A__SEL(mark(X), mark(Z))
MARK(cons(X1, X2)) → MARK(X1)
MARK(first(X1, X2)) → MARK(X2)
A__FROM(X) → MARK(X)
MARK(first(X1, X2)) → A__FIRST(mark(X1), mark(X2))
A__SEL(0, cons(X, Z)) → MARK(X)
A__FIRST(s(X), cons(Y, Z)) → MARK(Y)
A__SEL(s(X), cons(Y, Z)) → MARK(Z)
MARK(sel(X1, X2)) → MARK(X2)
A__SEL(s(X), cons(Y, Z)) → MARK(X)
a__from(X) → cons(mark(X), from(s(X)))
a__first(0, Z) → nil
a__first(s(X), cons(Y, Z)) → cons(mark(Y), first(X, Z))
a__sel(0, cons(X, Z)) → mark(X)
a__sel(s(X), cons(Y, Z)) → a__sel(mark(X), mark(Z))
mark(from(X)) → a__from(mark(X))
mark(first(X1, X2)) → a__first(mark(X1), mark(X2))
mark(sel(X1, X2)) → a__sel(mark(X1), mark(X2))
mark(cons(X1, X2)) → cons(mark(X1), X2)
mark(s(X)) → s(mark(X))
mark(0) → 0
mark(nil) → nil
a__from(X) → from(X)
a__first(X1, X2) → first(X1, X2)
a__sel(X1, X2) → sel(X1, X2)
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ Narrowing
MARK(first(X1, X2)) → MARK(X1)
MARK(from(X)) → MARK(X)
MARK(sel(X1, X2)) → MARK(X1)
MARK(sel(X1, X2)) → A__SEL(mark(X1), mark(X2))
MARK(from(X)) → A__FROM(mark(X))
MARK(s(X)) → MARK(X)
A__SEL(s(X), cons(Y, Z)) → A__SEL(mark(X), mark(Z))
MARK(cons(X1, X2)) → MARK(X1)
MARK(first(X1, X2)) → MARK(X2)
A__FROM(X) → MARK(X)
MARK(first(X1, X2)) → A__FIRST(mark(X1), mark(X2))
A__SEL(0, cons(X, Z)) → MARK(X)
A__FIRST(s(X), cons(Y, Z)) → MARK(Y)
A__SEL(s(X), cons(Y, Z)) → MARK(Z)
MARK(sel(X1, X2)) → MARK(X2)
A__SEL(s(X), cons(Y, Z)) → MARK(X)
a__from(X) → cons(mark(X), from(s(X)))
a__first(0, Z) → nil
a__first(s(X), cons(Y, Z)) → cons(mark(Y), first(X, Z))
a__sel(0, cons(X, Z)) → mark(X)
a__sel(s(X), cons(Y, Z)) → a__sel(mark(X), mark(Z))
mark(from(X)) → a__from(mark(X))
mark(first(X1, X2)) → a__first(mark(X1), mark(X2))
mark(sel(X1, X2)) → a__sel(mark(X1), mark(X2))
mark(cons(X1, X2)) → cons(mark(X1), X2)
mark(s(X)) → s(mark(X))
mark(0) → 0
mark(nil) → nil
a__from(X) → from(X)
a__first(X1, X2) → first(X1, X2)
a__sel(X1, X2) → sel(X1, X2)
A__SEL(s(from(x0)), cons(y1, y2)) → A__SEL(a__from(mark(x0)), mark(y2))
A__SEL(s(first(x0, x1)), cons(y1, y2)) → A__SEL(a__first(mark(x0), mark(x1)), mark(y2))
A__SEL(s(sel(x0, x1)), cons(y1, y2)) → A__SEL(a__sel(mark(x0), mark(x1)), mark(y2))
A__SEL(s(0), cons(y1, y2)) → A__SEL(0, mark(y2))
A__SEL(s(s(x0)), cons(y1, y2)) → A__SEL(s(mark(x0)), mark(y2))
A__SEL(s(nil), cons(y1, y2)) → A__SEL(nil, mark(y2))
A__SEL(s(cons(x0, x1)), cons(y1, y2)) → A__SEL(cons(mark(x0), x1), mark(y2))
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
A__SEL(s(from(x0)), cons(y1, y2)) → A__SEL(a__from(mark(x0)), mark(y2))
MARK(first(X1, X2)) → MARK(X1)
A__SEL(s(first(x0, x1)), cons(y1, y2)) → A__SEL(a__first(mark(x0), mark(x1)), mark(y2))
MARK(sel(X1, X2)) → MARK(X1)
MARK(from(X)) → MARK(X)
MARK(sel(X1, X2)) → A__SEL(mark(X1), mark(X2))
A__SEL(s(s(x0)), cons(y1, y2)) → A__SEL(s(mark(x0)), mark(y2))
MARK(from(X)) → A__FROM(mark(X))
MARK(s(X)) → MARK(X)
MARK(first(X1, X2)) → MARK(X2)
MARK(cons(X1, X2)) → MARK(X1)
MARK(first(X1, X2)) → A__FIRST(mark(X1), mark(X2))
A__FROM(X) → MARK(X)
A__SEL(0, cons(X, Z)) → MARK(X)
A__SEL(s(cons(x0, x1)), cons(y1, y2)) → A__SEL(cons(mark(x0), x1), mark(y2))
A__FIRST(s(X), cons(Y, Z)) → MARK(Y)
A__SEL(s(0), cons(y1, y2)) → A__SEL(0, mark(y2))
A__SEL(s(sel(x0, x1)), cons(y1, y2)) → A__SEL(a__sel(mark(x0), mark(x1)), mark(y2))
A__SEL(s(X), cons(Y, Z)) → MARK(Z)
A__SEL(s(nil), cons(y1, y2)) → A__SEL(nil, mark(y2))
A__SEL(s(X), cons(Y, Z)) → MARK(X)
MARK(sel(X1, X2)) → MARK(X2)
a__from(X) → cons(mark(X), from(s(X)))
a__first(0, Z) → nil
a__first(s(X), cons(Y, Z)) → cons(mark(Y), first(X, Z))
a__sel(0, cons(X, Z)) → mark(X)
a__sel(s(X), cons(Y, Z)) → a__sel(mark(X), mark(Z))
mark(from(X)) → a__from(mark(X))
mark(first(X1, X2)) → a__first(mark(X1), mark(X2))
mark(sel(X1, X2)) → a__sel(mark(X1), mark(X2))
mark(cons(X1, X2)) → cons(mark(X1), X2)
mark(s(X)) → s(mark(X))
mark(0) → 0
mark(nil) → nil
a__from(X) → from(X)
a__first(X1, X2) → first(X1, X2)
a__sel(X1, X2) → sel(X1, X2)
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
A__SEL(s(from(x0)), cons(y1, y2)) → A__SEL(a__from(mark(x0)), mark(y2))
MARK(first(X1, X2)) → MARK(X1)
A__SEL(s(first(x0, x1)), cons(y1, y2)) → A__SEL(a__first(mark(x0), mark(x1)), mark(y2))
MARK(from(X)) → MARK(X)
MARK(sel(X1, X2)) → MARK(X1)
MARK(sel(X1, X2)) → A__SEL(mark(X1), mark(X2))
A__SEL(s(s(x0)), cons(y1, y2)) → A__SEL(s(mark(x0)), mark(y2))
MARK(from(X)) → A__FROM(mark(X))
MARK(s(X)) → MARK(X)
MARK(first(X1, X2)) → MARK(X2)
MARK(cons(X1, X2)) → MARK(X1)
A__FROM(X) → MARK(X)
MARK(first(X1, X2)) → A__FIRST(mark(X1), mark(X2))
A__SEL(0, cons(X, Z)) → MARK(X)
A__FIRST(s(X), cons(Y, Z)) → MARK(Y)
A__SEL(s(0), cons(y1, y2)) → A__SEL(0, mark(y2))
A__SEL(s(sel(x0, x1)), cons(y1, y2)) → A__SEL(a__sel(mark(x0), mark(x1)), mark(y2))
A__SEL(s(X), cons(Y, Z)) → MARK(Z)
A__SEL(s(X), cons(Y, Z)) → MARK(X)
MARK(sel(X1, X2)) → MARK(X2)
a__from(X) → cons(mark(X), from(s(X)))
a__first(0, Z) → nil
a__first(s(X), cons(Y, Z)) → cons(mark(Y), first(X, Z))
a__sel(0, cons(X, Z)) → mark(X)
a__sel(s(X), cons(Y, Z)) → a__sel(mark(X), mark(Z))
mark(from(X)) → a__from(mark(X))
mark(first(X1, X2)) → a__first(mark(X1), mark(X2))
mark(sel(X1, X2)) → a__sel(mark(X1), mark(X2))
mark(cons(X1, X2)) → cons(mark(X1), X2)
mark(s(X)) → s(mark(X))
mark(0) → 0
mark(nil) → nil
a__from(X) → from(X)
a__first(X1, X2) → first(X1, X2)
a__sel(X1, X2) → sel(X1, X2)
MARK(first(sel(x0, x1), y1)) → A__FIRST(a__sel(mark(x0), mark(x1)), mark(y1))
MARK(first(from(x0), y1)) → A__FIRST(a__from(mark(x0)), mark(y1))
MARK(first(s(x0), y1)) → A__FIRST(s(mark(x0)), mark(y1))
MARK(first(first(x0, x1), y1)) → A__FIRST(a__first(mark(x0), mark(x1)), mark(y1))
MARK(first(nil, y1)) → A__FIRST(nil, mark(y1))
MARK(first(cons(x0, x1), y1)) → A__FIRST(cons(mark(x0), x1), mark(y1))
MARK(first(0, y1)) → A__FIRST(0, mark(y1))
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
MARK(s(X)) → MARK(X)
MARK(cons(X1, X2)) → MARK(X1)
A__SEL(0, cons(X, Z)) → MARK(X)
A__FIRST(s(X), cons(Y, Z)) → MARK(Y)
A__SEL(s(sel(x0, x1)), cons(y1, y2)) → A__SEL(a__sel(mark(x0), mark(x1)), mark(y2))
A__SEL(s(X), cons(Y, Z)) → MARK(Z)
MARK(first(s(x0), y1)) → A__FIRST(s(mark(x0)), mark(y1))
A__SEL(s(X), cons(Y, Z)) → MARK(X)
A__SEL(s(from(x0)), cons(y1, y2)) → A__SEL(a__from(mark(x0)), mark(y2))
MARK(first(X1, X2)) → MARK(X1)
A__SEL(s(first(x0, x1)), cons(y1, y2)) → A__SEL(a__first(mark(x0), mark(x1)), mark(y2))
MARK(from(X)) → MARK(X)
MARK(sel(X1, X2)) → MARK(X1)
MARK(first(sel(x0, x1), y1)) → A__FIRST(a__sel(mark(x0), mark(x1)), mark(y1))
MARK(sel(X1, X2)) → A__SEL(mark(X1), mark(X2))
A__SEL(s(s(x0)), cons(y1, y2)) → A__SEL(s(mark(x0)), mark(y2))
MARK(from(X)) → A__FROM(mark(X))
MARK(first(first(x0, x1), y1)) → A__FIRST(a__first(mark(x0), mark(x1)), mark(y1))
MARK(first(nil, y1)) → A__FIRST(nil, mark(y1))
MARK(first(X1, X2)) → MARK(X2)
MARK(first(cons(x0, x1), y1)) → A__FIRST(cons(mark(x0), x1), mark(y1))
A__FROM(X) → MARK(X)
A__SEL(s(0), cons(y1, y2)) → A__SEL(0, mark(y2))
MARK(first(from(x0), y1)) → A__FIRST(a__from(mark(x0)), mark(y1))
MARK(first(0, y1)) → A__FIRST(0, mark(y1))
MARK(sel(X1, X2)) → MARK(X2)
a__from(X) → cons(mark(X), from(s(X)))
a__first(0, Z) → nil
a__first(s(X), cons(Y, Z)) → cons(mark(Y), first(X, Z))
a__sel(0, cons(X, Z)) → mark(X)
a__sel(s(X), cons(Y, Z)) → a__sel(mark(X), mark(Z))
mark(from(X)) → a__from(mark(X))
mark(first(X1, X2)) → a__first(mark(X1), mark(X2))
mark(sel(X1, X2)) → a__sel(mark(X1), mark(X2))
mark(cons(X1, X2)) → cons(mark(X1), X2)
mark(s(X)) → s(mark(X))
mark(0) → 0
mark(nil) → nil
a__from(X) → from(X)
a__first(X1, X2) → first(X1, X2)
a__sel(X1, X2) → sel(X1, X2)
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
A__SEL(s(from(x0)), cons(y1, y2)) → A__SEL(a__from(mark(x0)), mark(y2))
MARK(first(X1, X2)) → MARK(X1)
A__SEL(s(first(x0, x1)), cons(y1, y2)) → A__SEL(a__first(mark(x0), mark(x1)), mark(y2))
MARK(from(X)) → MARK(X)
MARK(sel(X1, X2)) → MARK(X1)
MARK(first(sel(x0, x1), y1)) → A__FIRST(a__sel(mark(x0), mark(x1)), mark(y1))
MARK(sel(X1, X2)) → A__SEL(mark(X1), mark(X2))
A__SEL(s(s(x0)), cons(y1, y2)) → A__SEL(s(mark(x0)), mark(y2))
MARK(from(X)) → A__FROM(mark(X))
MARK(s(X)) → MARK(X)
MARK(first(first(x0, x1), y1)) → A__FIRST(a__first(mark(x0), mark(x1)), mark(y1))
MARK(first(X1, X2)) → MARK(X2)
MARK(cons(X1, X2)) → MARK(X1)
A__FROM(X) → MARK(X)
A__SEL(0, cons(X, Z)) → MARK(X)
A__FIRST(s(X), cons(Y, Z)) → MARK(Y)
A__SEL(s(0), cons(y1, y2)) → A__SEL(0, mark(y2))
A__SEL(s(sel(x0, x1)), cons(y1, y2)) → A__SEL(a__sel(mark(x0), mark(x1)), mark(y2))
A__SEL(s(X), cons(Y, Z)) → MARK(Z)
MARK(first(from(x0), y1)) → A__FIRST(a__from(mark(x0)), mark(y1))
MARK(first(s(x0), y1)) → A__FIRST(s(mark(x0)), mark(y1))
A__SEL(s(X), cons(Y, Z)) → MARK(X)
MARK(sel(X1, X2)) → MARK(X2)
a__from(X) → cons(mark(X), from(s(X)))
a__first(0, Z) → nil
a__first(s(X), cons(Y, Z)) → cons(mark(Y), first(X, Z))
a__sel(0, cons(X, Z)) → mark(X)
a__sel(s(X), cons(Y, Z)) → a__sel(mark(X), mark(Z))
mark(from(X)) → a__from(mark(X))
mark(first(X1, X2)) → a__first(mark(X1), mark(X2))
mark(sel(X1, X2)) → a__sel(mark(X1), mark(X2))
mark(cons(X1, X2)) → cons(mark(X1), X2)
mark(s(X)) → s(mark(X))
mark(0) → 0
mark(nil) → nil
a__from(X) → from(X)
a__first(X1, X2) → first(X1, X2)
a__sel(X1, X2) → sel(X1, X2)
MARK(sel(cons(x0, x1), y1)) → A__SEL(cons(mark(x0), x1), mark(y1))
MARK(sel(from(x0), y1)) → A__SEL(a__from(mark(x0)), mark(y1))
MARK(sel(0, y1)) → A__SEL(0, mark(y1))
MARK(sel(first(x0, x1), y1)) → A__SEL(a__first(mark(x0), mark(x1)), mark(y1))
MARK(sel(sel(x0, x1), y1)) → A__SEL(a__sel(mark(x0), mark(x1)), mark(y1))
MARK(sel(s(x0), y1)) → A__SEL(s(mark(x0)), mark(y1))
MARK(sel(nil, y1)) → A__SEL(nil, mark(y1))
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
MARK(sel(cons(x0, x1), y1)) → A__SEL(cons(mark(x0), x1), mark(y1))
MARK(sel(from(x0), y1)) → A__SEL(a__from(mark(x0)), mark(y1))
MARK(s(X)) → MARK(X)
MARK(cons(X1, X2)) → MARK(X1)
A__SEL(0, cons(X, Z)) → MARK(X)
A__FIRST(s(X), cons(Y, Z)) → MARK(Y)
A__SEL(s(sel(x0, x1)), cons(y1, y2)) → A__SEL(a__sel(mark(x0), mark(x1)), mark(y2))
A__SEL(s(X), cons(Y, Z)) → MARK(Z)
MARK(first(s(x0), y1)) → A__FIRST(s(mark(x0)), mark(y1))
MARK(sel(0, y1)) → A__SEL(0, mark(y1))
MARK(sel(nil, y1)) → A__SEL(nil, mark(y1))
A__SEL(s(X), cons(Y, Z)) → MARK(X)
A__SEL(s(from(x0)), cons(y1, y2)) → A__SEL(a__from(mark(x0)), mark(y2))
MARK(first(X1, X2)) → MARK(X1)
A__SEL(s(first(x0, x1)), cons(y1, y2)) → A__SEL(a__first(mark(x0), mark(x1)), mark(y2))
MARK(from(X)) → MARK(X)
MARK(sel(X1, X2)) → MARK(X1)
MARK(first(sel(x0, x1), y1)) → A__FIRST(a__sel(mark(x0), mark(x1)), mark(y1))
A__SEL(s(s(x0)), cons(y1, y2)) → A__SEL(s(mark(x0)), mark(y2))
MARK(from(X)) → A__FROM(mark(X))
MARK(first(first(x0, x1), y1)) → A__FIRST(a__first(mark(x0), mark(x1)), mark(y1))
MARK(first(X1, X2)) → MARK(X2)
MARK(sel(s(x0), y1)) → A__SEL(s(mark(x0)), mark(y1))
A__FROM(X) → MARK(X)
A__SEL(s(0), cons(y1, y2)) → A__SEL(0, mark(y2))
MARK(first(from(x0), y1)) → A__FIRST(a__from(mark(x0)), mark(y1))
MARK(sel(sel(x0, x1), y1)) → A__SEL(a__sel(mark(x0), mark(x1)), mark(y1))
MARK(sel(first(x0, x1), y1)) → A__SEL(a__first(mark(x0), mark(x1)), mark(y1))
MARK(sel(X1, X2)) → MARK(X2)
a__from(X) → cons(mark(X), from(s(X)))
a__first(0, Z) → nil
a__first(s(X), cons(Y, Z)) → cons(mark(Y), first(X, Z))
a__sel(0, cons(X, Z)) → mark(X)
a__sel(s(X), cons(Y, Z)) → a__sel(mark(X), mark(Z))
mark(from(X)) → a__from(mark(X))
mark(first(X1, X2)) → a__first(mark(X1), mark(X2))
mark(sel(X1, X2)) → a__sel(mark(X1), mark(X2))
mark(cons(X1, X2)) → cons(mark(X1), X2)
mark(s(X)) → s(mark(X))
mark(0) → 0
mark(nil) → nil
a__from(X) → from(X)
a__first(X1, X2) → first(X1, X2)
a__sel(X1, X2) → sel(X1, X2)
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
MARK(sel(from(x0), y1)) → A__SEL(a__from(mark(x0)), mark(y1))
MARK(s(X)) → MARK(X)
MARK(cons(X1, X2)) → MARK(X1)
A__SEL(0, cons(X, Z)) → MARK(X)
A__FIRST(s(X), cons(Y, Z)) → MARK(Y)
A__SEL(s(X), cons(Y, Z)) → MARK(Z)
A__SEL(s(sel(x0, x1)), cons(y1, y2)) → A__SEL(a__sel(mark(x0), mark(x1)), mark(y2))
MARK(first(s(x0), y1)) → A__FIRST(s(mark(x0)), mark(y1))
MARK(sel(0, y1)) → A__SEL(0, mark(y1))
A__SEL(s(X), cons(Y, Z)) → MARK(X)
MARK(first(X1, X2)) → MARK(X1)
A__SEL(s(from(x0)), cons(y1, y2)) → A__SEL(a__from(mark(x0)), mark(y2))
A__SEL(s(first(x0, x1)), cons(y1, y2)) → A__SEL(a__first(mark(x0), mark(x1)), mark(y2))
MARK(first(sel(x0, x1), y1)) → A__FIRST(a__sel(mark(x0), mark(x1)), mark(y1))
MARK(sel(X1, X2)) → MARK(X1)
MARK(from(X)) → MARK(X)
A__SEL(s(s(x0)), cons(y1, y2)) → A__SEL(s(mark(x0)), mark(y2))
MARK(from(X)) → A__FROM(mark(X))
MARK(first(first(x0, x1), y1)) → A__FIRST(a__first(mark(x0), mark(x1)), mark(y1))
MARK(first(X1, X2)) → MARK(X2)
MARK(sel(s(x0), y1)) → A__SEL(s(mark(x0)), mark(y1))
A__FROM(X) → MARK(X)
A__SEL(s(0), cons(y1, y2)) → A__SEL(0, mark(y2))
MARK(first(from(x0), y1)) → A__FIRST(a__from(mark(x0)), mark(y1))
MARK(sel(first(x0, x1), y1)) → A__SEL(a__first(mark(x0), mark(x1)), mark(y1))
MARK(sel(sel(x0, x1), y1)) → A__SEL(a__sel(mark(x0), mark(x1)), mark(y1))
MARK(sel(X1, X2)) → MARK(X2)
a__from(X) → cons(mark(X), from(s(X)))
a__first(0, Z) → nil
a__first(s(X), cons(Y, Z)) → cons(mark(Y), first(X, Z))
a__sel(0, cons(X, Z)) → mark(X)
a__sel(s(X), cons(Y, Z)) → a__sel(mark(X), mark(Z))
mark(from(X)) → a__from(mark(X))
mark(first(X1, X2)) → a__first(mark(X1), mark(X2))
mark(sel(X1, X2)) → a__sel(mark(X1), mark(X2))
mark(cons(X1, X2)) → cons(mark(X1), X2)
mark(s(X)) → s(mark(X))
mark(0) → 0
mark(nil) → nil
a__from(X) → from(X)
a__first(X1, X2) → first(X1, X2)
a__sel(X1, X2) → sel(X1, X2)
MARK(first(sel(y0, y1), s(x0))) → A__FIRST(a__sel(mark(y0), mark(y1)), s(mark(x0)))
MARK(first(sel(y0, y1), from(x0))) → A__FIRST(a__sel(mark(y0), mark(y1)), a__from(mark(x0)))
MARK(first(sel(y0, y1), 0)) → A__FIRST(a__sel(mark(y0), mark(y1)), 0)
MARK(first(sel(y0, y1), nil)) → A__FIRST(a__sel(mark(y0), mark(y1)), nil)
MARK(first(sel(y0, y1), cons(x0, x1))) → A__FIRST(a__sel(mark(y0), mark(y1)), cons(mark(x0), x1))
MARK(first(sel(y0, y1), first(x0, x1))) → A__FIRST(a__sel(mark(y0), mark(y1)), a__first(mark(x0), mark(x1)))
MARK(first(sel(y0, y1), sel(x0, x1))) → A__FIRST(a__sel(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
MARK(sel(from(x0), y1)) → A__SEL(a__from(mark(x0)), mark(y1))
MARK(s(X)) → MARK(X)
MARK(cons(X1, X2)) → MARK(X1)
MARK(first(sel(y0, y1), from(x0))) → A__FIRST(a__sel(mark(y0), mark(y1)), a__from(mark(x0)))
A__SEL(0, cons(X, Z)) → MARK(X)
A__FIRST(s(X), cons(Y, Z)) → MARK(Y)
MARK(first(sel(y0, y1), nil)) → A__FIRST(a__sel(mark(y0), mark(y1)), nil)
MARK(first(sel(y0, y1), cons(x0, x1))) → A__FIRST(a__sel(mark(y0), mark(y1)), cons(mark(x0), x1))
A__SEL(s(sel(x0, x1)), cons(y1, y2)) → A__SEL(a__sel(mark(x0), mark(x1)), mark(y2))
A__SEL(s(X), cons(Y, Z)) → MARK(Z)
MARK(first(s(x0), y1)) → A__FIRST(s(mark(x0)), mark(y1))
MARK(sel(0, y1)) → A__SEL(0, mark(y1))
A__SEL(s(X), cons(Y, Z)) → MARK(X)
MARK(first(sel(y0, y1), sel(x0, x1))) → A__FIRST(a__sel(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
A__SEL(s(from(x0)), cons(y1, y2)) → A__SEL(a__from(mark(x0)), mark(y2))
MARK(first(X1, X2)) → MARK(X1)
A__SEL(s(first(x0, x1)), cons(y1, y2)) → A__SEL(a__first(mark(x0), mark(x1)), mark(y2))
MARK(from(X)) → MARK(X)
MARK(sel(X1, X2)) → MARK(X1)
MARK(from(X)) → A__FROM(mark(X))
A__SEL(s(s(x0)), cons(y1, y2)) → A__SEL(s(mark(x0)), mark(y2))
MARK(first(sel(y0, y1), s(x0))) → A__FIRST(a__sel(mark(y0), mark(y1)), s(mark(x0)))
MARK(first(first(x0, x1), y1)) → A__FIRST(a__first(mark(x0), mark(x1)), mark(y1))
MARK(first(X1, X2)) → MARK(X2)
MARK(sel(s(x0), y1)) → A__SEL(s(mark(x0)), mark(y1))
A__FROM(X) → MARK(X)
MARK(first(sel(y0, y1), 0)) → A__FIRST(a__sel(mark(y0), mark(y1)), 0)
MARK(first(from(x0), y1)) → A__FIRST(a__from(mark(x0)), mark(y1))
A__SEL(s(0), cons(y1, y2)) → A__SEL(0, mark(y2))
MARK(first(sel(y0, y1), first(x0, x1))) → A__FIRST(a__sel(mark(y0), mark(y1)), a__first(mark(x0), mark(x1)))
MARK(sel(sel(x0, x1), y1)) → A__SEL(a__sel(mark(x0), mark(x1)), mark(y1))
MARK(sel(first(x0, x1), y1)) → A__SEL(a__first(mark(x0), mark(x1)), mark(y1))
MARK(sel(X1, X2)) → MARK(X2)
a__from(X) → cons(mark(X), from(s(X)))
a__first(0, Z) → nil
a__first(s(X), cons(Y, Z)) → cons(mark(Y), first(X, Z))
a__sel(0, cons(X, Z)) → mark(X)
a__sel(s(X), cons(Y, Z)) → a__sel(mark(X), mark(Z))
mark(from(X)) → a__from(mark(X))
mark(first(X1, X2)) → a__first(mark(X1), mark(X2))
mark(sel(X1, X2)) → a__sel(mark(X1), mark(X2))
mark(cons(X1, X2)) → cons(mark(X1), X2)
mark(s(X)) → s(mark(X))
mark(0) → 0
mark(nil) → nil
a__from(X) → from(X)
a__first(X1, X2) → first(X1, X2)
a__sel(X1, X2) → sel(X1, X2)
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
MARK(sel(from(x0), y1)) → A__SEL(a__from(mark(x0)), mark(y1))
MARK(s(X)) → MARK(X)
MARK(cons(X1, X2)) → MARK(X1)
MARK(first(sel(y0, y1), from(x0))) → A__FIRST(a__sel(mark(y0), mark(y1)), a__from(mark(x0)))
A__SEL(0, cons(X, Z)) → MARK(X)
A__FIRST(s(X), cons(Y, Z)) → MARK(Y)
MARK(first(sel(y0, y1), cons(x0, x1))) → A__FIRST(a__sel(mark(y0), mark(y1)), cons(mark(x0), x1))
A__SEL(s(X), cons(Y, Z)) → MARK(Z)
A__SEL(s(sel(x0, x1)), cons(y1, y2)) → A__SEL(a__sel(mark(x0), mark(x1)), mark(y2))
MARK(first(s(x0), y1)) → A__FIRST(s(mark(x0)), mark(y1))
MARK(sel(0, y1)) → A__SEL(0, mark(y1))
A__SEL(s(X), cons(Y, Z)) → MARK(X)
MARK(first(sel(y0, y1), sel(x0, x1))) → A__FIRST(a__sel(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
MARK(first(X1, X2)) → MARK(X1)
A__SEL(s(from(x0)), cons(y1, y2)) → A__SEL(a__from(mark(x0)), mark(y2))
A__SEL(s(first(x0, x1)), cons(y1, y2)) → A__SEL(a__first(mark(x0), mark(x1)), mark(y2))
MARK(sel(X1, X2)) → MARK(X1)
MARK(from(X)) → MARK(X)
A__SEL(s(s(x0)), cons(y1, y2)) → A__SEL(s(mark(x0)), mark(y2))
MARK(from(X)) → A__FROM(mark(X))
MARK(first(first(x0, x1), y1)) → A__FIRST(a__first(mark(x0), mark(x1)), mark(y1))
MARK(first(X1, X2)) → MARK(X2)
MARK(sel(s(x0), y1)) → A__SEL(s(mark(x0)), mark(y1))
A__FROM(X) → MARK(X)
MARK(first(from(x0), y1)) → A__FIRST(a__from(mark(x0)), mark(y1))
A__SEL(s(0), cons(y1, y2)) → A__SEL(0, mark(y2))
MARK(first(sel(y0, y1), first(x0, x1))) → A__FIRST(a__sel(mark(y0), mark(y1)), a__first(mark(x0), mark(x1)))
MARK(sel(first(x0, x1), y1)) → A__SEL(a__first(mark(x0), mark(x1)), mark(y1))
MARK(sel(sel(x0, x1), y1)) → A__SEL(a__sel(mark(x0), mark(x1)), mark(y1))
MARK(sel(X1, X2)) → MARK(X2)
a__from(X) → cons(mark(X), from(s(X)))
a__first(0, Z) → nil
a__first(s(X), cons(Y, Z)) → cons(mark(Y), first(X, Z))
a__sel(0, cons(X, Z)) → mark(X)
a__sel(s(X), cons(Y, Z)) → a__sel(mark(X), mark(Z))
mark(from(X)) → a__from(mark(X))
mark(first(X1, X2)) → a__first(mark(X1), mark(X2))
mark(sel(X1, X2)) → a__sel(mark(X1), mark(X2))
mark(cons(X1, X2)) → cons(mark(X1), X2)
mark(s(X)) → s(mark(X))
mark(0) → 0
mark(nil) → nil
a__from(X) → from(X)
a__first(X1, X2) → first(X1, X2)
a__sel(X1, X2) → sel(X1, X2)
MARK(first(from(y0), 0)) → A__FIRST(a__from(mark(y0)), 0)
MARK(first(from(y0), nil)) → A__FIRST(a__from(mark(y0)), nil)
MARK(first(from(y0), cons(x0, x1))) → A__FIRST(a__from(mark(y0)), cons(mark(x0), x1))
MARK(first(from(y0), from(x0))) → A__FIRST(a__from(mark(y0)), a__from(mark(x0)))
MARK(first(from(y0), first(x0, x1))) → A__FIRST(a__from(mark(y0)), a__first(mark(x0), mark(x1)))
MARK(first(from(y0), sel(x0, x1))) → A__FIRST(a__from(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(first(from(y0), s(x0))) → A__FIRST(a__from(mark(y0)), s(mark(x0)))
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
MARK(sel(from(x0), y1)) → A__SEL(a__from(mark(x0)), mark(y1))
MARK(s(X)) → MARK(X)
MARK(first(from(y0), first(x0, x1))) → A__FIRST(a__from(mark(y0)), a__first(mark(x0), mark(x1)))
MARK(cons(X1, X2)) → MARK(X1)
MARK(first(from(y0), sel(x0, x1))) → A__FIRST(a__from(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(first(sel(y0, y1), from(x0))) → A__FIRST(a__sel(mark(y0), mark(y1)), a__from(mark(x0)))
A__SEL(0, cons(X, Z)) → MARK(X)
A__FIRST(s(X), cons(Y, Z)) → MARK(Y)
A__SEL(s(sel(x0, x1)), cons(y1, y2)) → A__SEL(a__sel(mark(x0), mark(x1)), mark(y2))
A__SEL(s(X), cons(Y, Z)) → MARK(Z)
MARK(first(sel(y0, y1), cons(x0, x1))) → A__FIRST(a__sel(mark(y0), mark(y1)), cons(mark(x0), x1))
MARK(first(s(x0), y1)) → A__FIRST(s(mark(x0)), mark(y1))
MARK(first(from(y0), cons(x0, x1))) → A__FIRST(a__from(mark(y0)), cons(mark(x0), x1))
MARK(sel(0, y1)) → A__SEL(0, mark(y1))
A__SEL(s(X), cons(Y, Z)) → MARK(X)
MARK(first(sel(y0, y1), sel(x0, x1))) → A__FIRST(a__sel(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
A__SEL(s(from(x0)), cons(y1, y2)) → A__SEL(a__from(mark(x0)), mark(y2))
MARK(first(X1, X2)) → MARK(X1)
A__SEL(s(first(x0, x1)), cons(y1, y2)) → A__SEL(a__first(mark(x0), mark(x1)), mark(y2))
MARK(from(X)) → MARK(X)
MARK(sel(X1, X2)) → MARK(X1)
MARK(from(X)) → A__FROM(mark(X))
A__SEL(s(s(x0)), cons(y1, y2)) → A__SEL(s(mark(x0)), mark(y2))
MARK(first(from(y0), from(x0))) → A__FIRST(a__from(mark(y0)), a__from(mark(x0)))
MARK(first(first(x0, x1), y1)) → A__FIRST(a__first(mark(x0), mark(x1)), mark(y1))
MARK(first(X1, X2)) → MARK(X2)
MARK(sel(s(x0), y1)) → A__SEL(s(mark(x0)), mark(y1))
MARK(first(from(y0), s(x0))) → A__FIRST(a__from(mark(y0)), s(mark(x0)))
A__FROM(X) → MARK(X)
MARK(first(from(y0), 0)) → A__FIRST(a__from(mark(y0)), 0)
A__SEL(s(0), cons(y1, y2)) → A__SEL(0, mark(y2))
MARK(first(from(y0), nil)) → A__FIRST(a__from(mark(y0)), nil)
MARK(first(sel(y0, y1), first(x0, x1))) → A__FIRST(a__sel(mark(y0), mark(y1)), a__first(mark(x0), mark(x1)))
MARK(sel(sel(x0, x1), y1)) → A__SEL(a__sel(mark(x0), mark(x1)), mark(y1))
MARK(sel(first(x0, x1), y1)) → A__SEL(a__first(mark(x0), mark(x1)), mark(y1))
MARK(sel(X1, X2)) → MARK(X2)
a__from(X) → cons(mark(X), from(s(X)))
a__first(0, Z) → nil
a__first(s(X), cons(Y, Z)) → cons(mark(Y), first(X, Z))
a__sel(0, cons(X, Z)) → mark(X)
a__sel(s(X), cons(Y, Z)) → a__sel(mark(X), mark(Z))
mark(from(X)) → a__from(mark(X))
mark(first(X1, X2)) → a__first(mark(X1), mark(X2))
mark(sel(X1, X2)) → a__sel(mark(X1), mark(X2))
mark(cons(X1, X2)) → cons(mark(X1), X2)
mark(s(X)) → s(mark(X))
mark(0) → 0
mark(nil) → nil
a__from(X) → from(X)
a__first(X1, X2) → first(X1, X2)
a__sel(X1, X2) → sel(X1, X2)
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
MARK(sel(from(x0), y1)) → A__SEL(a__from(mark(x0)), mark(y1))
MARK(s(X)) → MARK(X)
MARK(first(from(y0), first(x0, x1))) → A__FIRST(a__from(mark(y0)), a__first(mark(x0), mark(x1)))
MARK(cons(X1, X2)) → MARK(X1)
MARK(first(from(y0), sel(x0, x1))) → A__FIRST(a__from(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(first(sel(y0, y1), from(x0))) → A__FIRST(a__sel(mark(y0), mark(y1)), a__from(mark(x0)))
A__SEL(0, cons(X, Z)) → MARK(X)
A__FIRST(s(X), cons(Y, Z)) → MARK(Y)
MARK(first(sel(y0, y1), cons(x0, x1))) → A__FIRST(a__sel(mark(y0), mark(y1)), cons(mark(x0), x1))
A__SEL(s(X), cons(Y, Z)) → MARK(Z)
A__SEL(s(sel(x0, x1)), cons(y1, y2)) → A__SEL(a__sel(mark(x0), mark(x1)), mark(y2))
MARK(first(s(x0), y1)) → A__FIRST(s(mark(x0)), mark(y1))
MARK(first(from(y0), cons(x0, x1))) → A__FIRST(a__from(mark(y0)), cons(mark(x0), x1))
MARK(sel(0, y1)) → A__SEL(0, mark(y1))
A__SEL(s(X), cons(Y, Z)) → MARK(X)
MARK(first(sel(y0, y1), sel(x0, x1))) → A__FIRST(a__sel(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
MARK(first(X1, X2)) → MARK(X1)
A__SEL(s(from(x0)), cons(y1, y2)) → A__SEL(a__from(mark(x0)), mark(y2))
A__SEL(s(first(x0, x1)), cons(y1, y2)) → A__SEL(a__first(mark(x0), mark(x1)), mark(y2))
MARK(sel(X1, X2)) → MARK(X1)
MARK(from(X)) → MARK(X)
MARK(from(X)) → A__FROM(mark(X))
A__SEL(s(s(x0)), cons(y1, y2)) → A__SEL(s(mark(x0)), mark(y2))
MARK(first(from(y0), from(x0))) → A__FIRST(a__from(mark(y0)), a__from(mark(x0)))
MARK(first(first(x0, x1), y1)) → A__FIRST(a__first(mark(x0), mark(x1)), mark(y1))
MARK(first(X1, X2)) → MARK(X2)
MARK(sel(s(x0), y1)) → A__SEL(s(mark(x0)), mark(y1))
A__FROM(X) → MARK(X)
A__SEL(s(0), cons(y1, y2)) → A__SEL(0, mark(y2))
MARK(first(sel(y0, y1), first(x0, x1))) → A__FIRST(a__sel(mark(y0), mark(y1)), a__first(mark(x0), mark(x1)))
MARK(sel(first(x0, x1), y1)) → A__SEL(a__first(mark(x0), mark(x1)), mark(y1))
MARK(sel(sel(x0, x1), y1)) → A__SEL(a__sel(mark(x0), mark(x1)), mark(y1))
MARK(sel(X1, X2)) → MARK(X2)
a__from(X) → cons(mark(X), from(s(X)))
a__first(0, Z) → nil
a__first(s(X), cons(Y, Z)) → cons(mark(Y), first(X, Z))
a__sel(0, cons(X, Z)) → mark(X)
a__sel(s(X), cons(Y, Z)) → a__sel(mark(X), mark(Z))
mark(from(X)) → a__from(mark(X))
mark(first(X1, X2)) → a__first(mark(X1), mark(X2))
mark(sel(X1, X2)) → a__sel(mark(X1), mark(X2))
mark(cons(X1, X2)) → cons(mark(X1), X2)
mark(s(X)) → s(mark(X))
mark(0) → 0
mark(nil) → nil
a__from(X) → from(X)
a__first(X1, X2) → first(X1, X2)
a__sel(X1, X2) → sel(X1, X2)
MARK(first(s(y0), 0)) → A__FIRST(s(mark(y0)), 0)
MARK(first(s(y0), first(x0, x1))) → A__FIRST(s(mark(y0)), a__first(mark(x0), mark(x1)))
MARK(first(s(y0), sel(x0, x1))) → A__FIRST(s(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(first(s(y0), nil)) → A__FIRST(s(mark(y0)), nil)
MARK(first(s(y0), s(x0))) → A__FIRST(s(mark(y0)), s(mark(x0)))
MARK(first(s(y0), cons(x0, x1))) → A__FIRST(s(mark(y0)), cons(mark(x0), x1))
MARK(first(s(y0), from(x0))) → A__FIRST(s(mark(y0)), a__from(mark(x0)))
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
MARK(sel(from(x0), y1)) → A__SEL(a__from(mark(x0)), mark(y1))
MARK(s(X)) → MARK(X)
MARK(cons(X1, X2)) → MARK(X1)
MARK(first(from(y0), first(x0, x1))) → A__FIRST(a__from(mark(y0)), a__first(mark(x0), mark(x1)))
MARK(first(s(y0), cons(x0, x1))) → A__FIRST(s(mark(y0)), cons(mark(x0), x1))
MARK(first(sel(y0, y1), from(x0))) → A__FIRST(a__sel(mark(y0), mark(y1)), a__from(mark(x0)))
MARK(first(from(y0), sel(x0, x1))) → A__FIRST(a__from(mark(y0)), a__sel(mark(x0), mark(x1)))
A__SEL(0, cons(X, Z)) → MARK(X)
A__FIRST(s(X), cons(Y, Z)) → MARK(Y)
A__SEL(s(sel(x0, x1)), cons(y1, y2)) → A__SEL(a__sel(mark(x0), mark(x1)), mark(y2))
A__SEL(s(X), cons(Y, Z)) → MARK(Z)
MARK(first(sel(y0, y1), cons(x0, x1))) → A__FIRST(a__sel(mark(y0), mark(y1)), cons(mark(x0), x1))
MARK(sel(0, y1)) → A__SEL(0, mark(y1))
MARK(first(from(y0), cons(x0, x1))) → A__FIRST(a__from(mark(y0)), cons(mark(x0), x1))
A__SEL(s(X), cons(Y, Z)) → MARK(X)
MARK(first(sel(y0, y1), sel(x0, x1))) → A__FIRST(a__sel(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
A__SEL(s(from(x0)), cons(y1, y2)) → A__SEL(a__from(mark(x0)), mark(y2))
MARK(first(X1, X2)) → MARK(X1)
A__SEL(s(first(x0, x1)), cons(y1, y2)) → A__SEL(a__first(mark(x0), mark(x1)), mark(y2))
MARK(from(X)) → MARK(X)
MARK(sel(X1, X2)) → MARK(X1)
A__SEL(s(s(x0)), cons(y1, y2)) → A__SEL(s(mark(x0)), mark(y2))
MARK(from(X)) → A__FROM(mark(X))
MARK(first(s(y0), first(x0, x1))) → A__FIRST(s(mark(y0)), a__first(mark(x0), mark(x1)))
MARK(first(s(y0), nil)) → A__FIRST(s(mark(y0)), nil)
MARK(first(s(y0), sel(x0, x1))) → A__FIRST(s(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(first(first(x0, x1), y1)) → A__FIRST(a__first(mark(x0), mark(x1)), mark(y1))
MARK(first(from(y0), from(x0))) → A__FIRST(a__from(mark(y0)), a__from(mark(x0)))
MARK(first(X1, X2)) → MARK(X2)
MARK(sel(s(x0), y1)) → A__SEL(s(mark(x0)), mark(y1))
MARK(first(s(y0), from(x0))) → A__FIRST(s(mark(y0)), a__from(mark(x0)))
A__FROM(X) → MARK(X)
MARK(first(s(y0), 0)) → A__FIRST(s(mark(y0)), 0)
A__SEL(s(0), cons(y1, y2)) → A__SEL(0, mark(y2))
MARK(first(sel(y0, y1), first(x0, x1))) → A__FIRST(a__sel(mark(y0), mark(y1)), a__first(mark(x0), mark(x1)))
MARK(first(s(y0), s(x0))) → A__FIRST(s(mark(y0)), s(mark(x0)))
MARK(sel(sel(x0, x1), y1)) → A__SEL(a__sel(mark(x0), mark(x1)), mark(y1))
MARK(sel(first(x0, x1), y1)) → A__SEL(a__first(mark(x0), mark(x1)), mark(y1))
MARK(sel(X1, X2)) → MARK(X2)
a__from(X) → cons(mark(X), from(s(X)))
a__first(0, Z) → nil
a__first(s(X), cons(Y, Z)) → cons(mark(Y), first(X, Z))
a__sel(0, cons(X, Z)) → mark(X)
a__sel(s(X), cons(Y, Z)) → a__sel(mark(X), mark(Z))
mark(from(X)) → a__from(mark(X))
mark(first(X1, X2)) → a__first(mark(X1), mark(X2))
mark(sel(X1, X2)) → a__sel(mark(X1), mark(X2))
mark(cons(X1, X2)) → cons(mark(X1), X2)
mark(s(X)) → s(mark(X))
mark(0) → 0
mark(nil) → nil
a__from(X) → from(X)
a__first(X1, X2) → first(X1, X2)
a__sel(X1, X2) → sel(X1, X2)
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
MARK(sel(from(x0), y1)) → A__SEL(a__from(mark(x0)), mark(y1))
MARK(s(X)) → MARK(X)
MARK(first(from(y0), first(x0, x1))) → A__FIRST(a__from(mark(y0)), a__first(mark(x0), mark(x1)))
MARK(cons(X1, X2)) → MARK(X1)
MARK(first(s(y0), cons(x0, x1))) → A__FIRST(s(mark(y0)), cons(mark(x0), x1))
MARK(first(from(y0), sel(x0, x1))) → A__FIRST(a__from(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(first(sel(y0, y1), from(x0))) → A__FIRST(a__sel(mark(y0), mark(y1)), a__from(mark(x0)))
A__SEL(0, cons(X, Z)) → MARK(X)
A__FIRST(s(X), cons(Y, Z)) → MARK(Y)
MARK(first(sel(y0, y1), cons(x0, x1))) → A__FIRST(a__sel(mark(y0), mark(y1)), cons(mark(x0), x1))
A__SEL(s(X), cons(Y, Z)) → MARK(Z)
A__SEL(s(sel(x0, x1)), cons(y1, y2)) → A__SEL(a__sel(mark(x0), mark(x1)), mark(y2))
MARK(first(from(y0), cons(x0, x1))) → A__FIRST(a__from(mark(y0)), cons(mark(x0), x1))
MARK(sel(0, y1)) → A__SEL(0, mark(y1))
A__SEL(s(X), cons(Y, Z)) → MARK(X)
MARK(first(sel(y0, y1), sel(x0, x1))) → A__FIRST(a__sel(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
MARK(first(X1, X2)) → MARK(X1)
A__SEL(s(from(x0)), cons(y1, y2)) → A__SEL(a__from(mark(x0)), mark(y2))
A__SEL(s(first(x0, x1)), cons(y1, y2)) → A__SEL(a__first(mark(x0), mark(x1)), mark(y2))
MARK(sel(X1, X2)) → MARK(X1)
MARK(from(X)) → MARK(X)
MARK(from(X)) → A__FROM(mark(X))
A__SEL(s(s(x0)), cons(y1, y2)) → A__SEL(s(mark(x0)), mark(y2))
MARK(first(s(y0), first(x0, x1))) → A__FIRST(s(mark(y0)), a__first(mark(x0), mark(x1)))
MARK(first(s(y0), sel(x0, x1))) → A__FIRST(s(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(first(from(y0), from(x0))) → A__FIRST(a__from(mark(y0)), a__from(mark(x0)))
MARK(first(first(x0, x1), y1)) → A__FIRST(a__first(mark(x0), mark(x1)), mark(y1))
MARK(first(X1, X2)) → MARK(X2)
MARK(sel(s(x0), y1)) → A__SEL(s(mark(x0)), mark(y1))
MARK(first(s(y0), from(x0))) → A__FIRST(s(mark(y0)), a__from(mark(x0)))
A__FROM(X) → MARK(X)
A__SEL(s(0), cons(y1, y2)) → A__SEL(0, mark(y2))
MARK(first(sel(y0, y1), first(x0, x1))) → A__FIRST(a__sel(mark(y0), mark(y1)), a__first(mark(x0), mark(x1)))
MARK(sel(first(x0, x1), y1)) → A__SEL(a__first(mark(x0), mark(x1)), mark(y1))
MARK(sel(sel(x0, x1), y1)) → A__SEL(a__sel(mark(x0), mark(x1)), mark(y1))
MARK(sel(X1, X2)) → MARK(X2)
a__from(X) → cons(mark(X), from(s(X)))
a__first(0, Z) → nil
a__first(s(X), cons(Y, Z)) → cons(mark(Y), first(X, Z))
a__sel(0, cons(X, Z)) → mark(X)
a__sel(s(X), cons(Y, Z)) → a__sel(mark(X), mark(Z))
mark(from(X)) → a__from(mark(X))
mark(first(X1, X2)) → a__first(mark(X1), mark(X2))
mark(sel(X1, X2)) → a__sel(mark(X1), mark(X2))
mark(cons(X1, X2)) → cons(mark(X1), X2)
mark(s(X)) → s(mark(X))
mark(0) → 0
mark(nil) → nil
a__from(X) → from(X)
a__first(X1, X2) → first(X1, X2)
a__sel(X1, X2) → sel(X1, X2)
MARK(first(first(y0, y1), cons(x0, x1))) → A__FIRST(a__first(mark(y0), mark(y1)), cons(mark(x0), x1))
MARK(first(first(y0, y1), nil)) → A__FIRST(a__first(mark(y0), mark(y1)), nil)
MARK(first(first(y0, y1), s(x0))) → A__FIRST(a__first(mark(y0), mark(y1)), s(mark(x0)))
MARK(first(first(y0, y1), from(x0))) → A__FIRST(a__first(mark(y0), mark(y1)), a__from(mark(x0)))
MARK(first(first(y0, y1), 0)) → A__FIRST(a__first(mark(y0), mark(y1)), 0)
MARK(first(first(y0, y1), first(x0, x1))) → A__FIRST(a__first(mark(y0), mark(y1)), a__first(mark(x0), mark(x1)))
MARK(first(first(y0, y1), sel(x0, x1))) → A__FIRST(a__first(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
MARK(sel(from(x0), y1)) → A__SEL(a__from(mark(x0)), mark(y1))
MARK(s(X)) → MARK(X)
MARK(first(first(y0, y1), from(x0))) → A__FIRST(a__first(mark(y0), mark(y1)), a__from(mark(x0)))
MARK(cons(X1, X2)) → MARK(X1)
MARK(first(from(y0), first(x0, x1))) → A__FIRST(a__from(mark(y0)), a__first(mark(x0), mark(x1)))
MARK(first(sel(y0, y1), from(x0))) → A__FIRST(a__sel(mark(y0), mark(y1)), a__from(mark(x0)))
MARK(first(from(y0), sel(x0, x1))) → A__FIRST(a__from(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(first(s(y0), cons(x0, x1))) → A__FIRST(s(mark(y0)), cons(mark(x0), x1))
A__SEL(0, cons(X, Z)) → MARK(X)
A__FIRST(s(X), cons(Y, Z)) → MARK(Y)
A__SEL(s(sel(x0, x1)), cons(y1, y2)) → A__SEL(a__sel(mark(x0), mark(x1)), mark(y2))
A__SEL(s(X), cons(Y, Z)) → MARK(Z)
MARK(first(sel(y0, y1), cons(x0, x1))) → A__FIRST(a__sel(mark(y0), mark(y1)), cons(mark(x0), x1))
MARK(sel(0, y1)) → A__SEL(0, mark(y1))
MARK(first(from(y0), cons(x0, x1))) → A__FIRST(a__from(mark(y0)), cons(mark(x0), x1))
A__SEL(s(X), cons(Y, Z)) → MARK(X)
MARK(first(sel(y0, y1), sel(x0, x1))) → A__FIRST(a__sel(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
A__SEL(s(from(x0)), cons(y1, y2)) → A__SEL(a__from(mark(x0)), mark(y2))
MARK(first(X1, X2)) → MARK(X1)
MARK(first(first(y0, y1), cons(x0, x1))) → A__FIRST(a__first(mark(y0), mark(y1)), cons(mark(x0), x1))
A__SEL(s(first(x0, x1)), cons(y1, y2)) → A__SEL(a__first(mark(x0), mark(x1)), mark(y2))
MARK(from(X)) → MARK(X)
MARK(sel(X1, X2)) → MARK(X1)
MARK(first(first(y0, y1), nil)) → A__FIRST(a__first(mark(y0), mark(y1)), nil)
A__SEL(s(s(x0)), cons(y1, y2)) → A__SEL(s(mark(x0)), mark(y2))
MARK(from(X)) → A__FROM(mark(X))
MARK(first(first(y0, y1), s(x0))) → A__FIRST(a__first(mark(y0), mark(y1)), s(mark(x0)))
MARK(first(s(y0), first(x0, x1))) → A__FIRST(s(mark(y0)), a__first(mark(x0), mark(x1)))
MARK(first(from(y0), from(x0))) → A__FIRST(a__from(mark(y0)), a__from(mark(x0)))
MARK(first(s(y0), sel(x0, x1))) → A__FIRST(s(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(first(X1, X2)) → MARK(X2)
MARK(sel(s(x0), y1)) → A__SEL(s(mark(x0)), mark(y1))
A__FROM(X) → MARK(X)
MARK(first(s(y0), from(x0))) → A__FIRST(s(mark(y0)), a__from(mark(x0)))
MARK(first(first(y0, y1), 0)) → A__FIRST(a__first(mark(y0), mark(y1)), 0)
A__SEL(s(0), cons(y1, y2)) → A__SEL(0, mark(y2))
MARK(first(first(y0, y1), first(x0, x1))) → A__FIRST(a__first(mark(y0), mark(y1)), a__first(mark(x0), mark(x1)))
MARK(first(first(y0, y1), sel(x0, x1))) → A__FIRST(a__first(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
MARK(first(sel(y0, y1), first(x0, x1))) → A__FIRST(a__sel(mark(y0), mark(y1)), a__first(mark(x0), mark(x1)))
MARK(sel(sel(x0, x1), y1)) → A__SEL(a__sel(mark(x0), mark(x1)), mark(y1))
MARK(sel(first(x0, x1), y1)) → A__SEL(a__first(mark(x0), mark(x1)), mark(y1))
MARK(sel(X1, X2)) → MARK(X2)
a__from(X) → cons(mark(X), from(s(X)))
a__first(0, Z) → nil
a__first(s(X), cons(Y, Z)) → cons(mark(Y), first(X, Z))
a__sel(0, cons(X, Z)) → mark(X)
a__sel(s(X), cons(Y, Z)) → a__sel(mark(X), mark(Z))
mark(from(X)) → a__from(mark(X))
mark(first(X1, X2)) → a__first(mark(X1), mark(X2))
mark(sel(X1, X2)) → a__sel(mark(X1), mark(X2))
mark(cons(X1, X2)) → cons(mark(X1), X2)
mark(s(X)) → s(mark(X))
mark(0) → 0
mark(nil) → nil
a__from(X) → from(X)
a__first(X1, X2) → first(X1, X2)
a__sel(X1, X2) → sel(X1, X2)
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
MARK(sel(from(x0), y1)) → A__SEL(a__from(mark(x0)), mark(y1))
MARK(s(X)) → MARK(X)
MARK(first(first(y0, y1), from(x0))) → A__FIRST(a__first(mark(y0), mark(y1)), a__from(mark(x0)))
MARK(first(from(y0), first(x0, x1))) → A__FIRST(a__from(mark(y0)), a__first(mark(x0), mark(x1)))
MARK(cons(X1, X2)) → MARK(X1)
MARK(first(s(y0), cons(x0, x1))) → A__FIRST(s(mark(y0)), cons(mark(x0), x1))
MARK(first(from(y0), sel(x0, x1))) → A__FIRST(a__from(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(first(sel(y0, y1), from(x0))) → A__FIRST(a__sel(mark(y0), mark(y1)), a__from(mark(x0)))
A__SEL(0, cons(X, Z)) → MARK(X)
A__FIRST(s(X), cons(Y, Z)) → MARK(Y)
A__SEL(s(X), cons(Y, Z)) → MARK(Z)
A__SEL(s(sel(x0, x1)), cons(y1, y2)) → A__SEL(a__sel(mark(x0), mark(x1)), mark(y2))
MARK(first(sel(y0, y1), cons(x0, x1))) → A__FIRST(a__sel(mark(y0), mark(y1)), cons(mark(x0), x1))
MARK(first(from(y0), cons(x0, x1))) → A__FIRST(a__from(mark(y0)), cons(mark(x0), x1))
MARK(sel(0, y1)) → A__SEL(0, mark(y1))
A__SEL(s(X), cons(Y, Z)) → MARK(X)
MARK(first(sel(y0, y1), sel(x0, x1))) → A__FIRST(a__sel(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
MARK(first(X1, X2)) → MARK(X1)
A__SEL(s(from(x0)), cons(y1, y2)) → A__SEL(a__from(mark(x0)), mark(y2))
MARK(first(first(y0, y1), cons(x0, x1))) → A__FIRST(a__first(mark(y0), mark(y1)), cons(mark(x0), x1))
A__SEL(s(first(x0, x1)), cons(y1, y2)) → A__SEL(a__first(mark(x0), mark(x1)), mark(y2))
MARK(sel(X1, X2)) → MARK(X1)
MARK(from(X)) → MARK(X)
MARK(from(X)) → A__FROM(mark(X))
A__SEL(s(s(x0)), cons(y1, y2)) → A__SEL(s(mark(x0)), mark(y2))
MARK(first(s(y0), first(x0, x1))) → A__FIRST(s(mark(y0)), a__first(mark(x0), mark(x1)))
MARK(first(s(y0), sel(x0, x1))) → A__FIRST(s(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(first(from(y0), from(x0))) → A__FIRST(a__from(mark(y0)), a__from(mark(x0)))
MARK(first(X1, X2)) → MARK(X2)
MARK(sel(s(x0), y1)) → A__SEL(s(mark(x0)), mark(y1))
MARK(first(s(y0), from(x0))) → A__FIRST(s(mark(y0)), a__from(mark(x0)))
A__FROM(X) → MARK(X)
A__SEL(s(0), cons(y1, y2)) → A__SEL(0, mark(y2))
MARK(first(first(y0, y1), first(x0, x1))) → A__FIRST(a__first(mark(y0), mark(y1)), a__first(mark(x0), mark(x1)))
MARK(first(first(y0, y1), sel(x0, x1))) → A__FIRST(a__first(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
MARK(first(sel(y0, y1), first(x0, x1))) → A__FIRST(a__sel(mark(y0), mark(y1)), a__first(mark(x0), mark(x1)))
MARK(sel(first(x0, x1), y1)) → A__SEL(a__first(mark(x0), mark(x1)), mark(y1))
MARK(sel(sel(x0, x1), y1)) → A__SEL(a__sel(mark(x0), mark(x1)), mark(y1))
MARK(sel(X1, X2)) → MARK(X2)
a__from(X) → cons(mark(X), from(s(X)))
a__first(0, Z) → nil
a__first(s(X), cons(Y, Z)) → cons(mark(Y), first(X, Z))
a__sel(0, cons(X, Z)) → mark(X)
a__sel(s(X), cons(Y, Z)) → a__sel(mark(X), mark(Z))
mark(from(X)) → a__from(mark(X))
mark(first(X1, X2)) → a__first(mark(X1), mark(X2))
mark(sel(X1, X2)) → a__sel(mark(X1), mark(X2))
mark(cons(X1, X2)) → cons(mark(X1), X2)
mark(s(X)) → s(mark(X))
mark(0) → 0
mark(nil) → nil
a__from(X) → from(X)
a__first(X1, X2) → first(X1, X2)
a__sel(X1, X2) → sel(X1, X2)
MARK(sel(from(y0), cons(x0, x1))) → A__SEL(a__from(mark(y0)), cons(mark(x0), x1))
MARK(sel(from(y0), from(x0))) → A__SEL(a__from(mark(y0)), a__from(mark(x0)))
MARK(sel(from(y0), sel(x0, x1))) → A__SEL(a__from(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(sel(from(y0), nil)) → A__SEL(a__from(mark(y0)), nil)
MARK(sel(from(y0), s(x0))) → A__SEL(a__from(mark(y0)), s(mark(x0)))
MARK(sel(from(y0), 0)) → A__SEL(a__from(mark(y0)), 0)
MARK(sel(from(y0), first(x0, x1))) → A__SEL(a__from(mark(y0)), a__first(mark(x0), mark(x1)))
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
MARK(sel(from(y0), cons(x0, x1))) → A__SEL(a__from(mark(y0)), cons(mark(x0), x1))
MARK(s(X)) → MARK(X)
MARK(sel(from(y0), nil)) → A__SEL(a__from(mark(y0)), nil)
MARK(cons(X1, X2)) → MARK(X1)
MARK(first(from(y0), first(x0, x1))) → A__FIRST(a__from(mark(y0)), a__first(mark(x0), mark(x1)))
MARK(first(first(y0, y1), from(x0))) → A__FIRST(a__first(mark(y0), mark(y1)), a__from(mark(x0)))
MARK(first(sel(y0, y1), from(x0))) → A__FIRST(a__sel(mark(y0), mark(y1)), a__from(mark(x0)))
MARK(first(from(y0), sel(x0, x1))) → A__FIRST(a__from(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(first(s(y0), cons(x0, x1))) → A__FIRST(s(mark(y0)), cons(mark(x0), x1))
MARK(sel(from(y0), 0)) → A__SEL(a__from(mark(y0)), 0)
A__SEL(0, cons(X, Z)) → MARK(X)
A__FIRST(s(X), cons(Y, Z)) → MARK(Y)
MARK(first(sel(y0, y1), cons(x0, x1))) → A__FIRST(a__sel(mark(y0), mark(y1)), cons(mark(x0), x1))
A__SEL(s(sel(x0, x1)), cons(y1, y2)) → A__SEL(a__sel(mark(x0), mark(x1)), mark(y2))
A__SEL(s(X), cons(Y, Z)) → MARK(Z)
MARK(sel(0, y1)) → A__SEL(0, mark(y1))
MARK(first(from(y0), cons(x0, x1))) → A__FIRST(a__from(mark(y0)), cons(mark(x0), x1))
MARK(sel(from(y0), s(x0))) → A__SEL(a__from(mark(y0)), s(mark(x0)))
A__SEL(s(X), cons(Y, Z)) → MARK(X)
MARK(first(sel(y0, y1), sel(x0, x1))) → A__FIRST(a__sel(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
A__SEL(s(from(x0)), cons(y1, y2)) → A__SEL(a__from(mark(x0)), mark(y2))
MARK(first(X1, X2)) → MARK(X1)
A__SEL(s(first(x0, x1)), cons(y1, y2)) → A__SEL(a__first(mark(x0), mark(x1)), mark(y2))
MARK(first(first(y0, y1), cons(x0, x1))) → A__FIRST(a__first(mark(y0), mark(y1)), cons(mark(x0), x1))
MARK(from(X)) → MARK(X)
MARK(sel(X1, X2)) → MARK(X1)
A__SEL(s(s(x0)), cons(y1, y2)) → A__SEL(s(mark(x0)), mark(y2))
MARK(from(X)) → A__FROM(mark(X))
MARK(sel(from(y0), from(x0))) → A__SEL(a__from(mark(y0)), a__from(mark(x0)))
MARK(first(s(y0), first(x0, x1))) → A__FIRST(s(mark(y0)), a__first(mark(x0), mark(x1)))
MARK(first(from(y0), from(x0))) → A__FIRST(a__from(mark(y0)), a__from(mark(x0)))
MARK(first(s(y0), sel(x0, x1))) → A__FIRST(s(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(first(X1, X2)) → MARK(X2)
MARK(sel(s(x0), y1)) → A__SEL(s(mark(x0)), mark(y1))
A__FROM(X) → MARK(X)
MARK(first(s(y0), from(x0))) → A__FIRST(s(mark(y0)), a__from(mark(x0)))
A__SEL(s(0), cons(y1, y2)) → A__SEL(0, mark(y2))
MARK(first(first(y0, y1), first(x0, x1))) → A__FIRST(a__first(mark(y0), mark(y1)), a__first(mark(x0), mark(x1)))
MARK(sel(from(y0), sel(x0, x1))) → A__SEL(a__from(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(first(sel(y0, y1), first(x0, x1))) → A__FIRST(a__sel(mark(y0), mark(y1)), a__first(mark(x0), mark(x1)))
MARK(first(first(y0, y1), sel(x0, x1))) → A__FIRST(a__first(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
MARK(sel(sel(x0, x1), y1)) → A__SEL(a__sel(mark(x0), mark(x1)), mark(y1))
MARK(sel(first(x0, x1), y1)) → A__SEL(a__first(mark(x0), mark(x1)), mark(y1))
MARK(sel(X1, X2)) → MARK(X2)
MARK(sel(from(y0), first(x0, x1))) → A__SEL(a__from(mark(y0)), a__first(mark(x0), mark(x1)))
a__from(X) → cons(mark(X), from(s(X)))
a__first(0, Z) → nil
a__first(s(X), cons(Y, Z)) → cons(mark(Y), first(X, Z))
a__sel(0, cons(X, Z)) → mark(X)
a__sel(s(X), cons(Y, Z)) → a__sel(mark(X), mark(Z))
mark(from(X)) → a__from(mark(X))
mark(first(X1, X2)) → a__first(mark(X1), mark(X2))
mark(sel(X1, X2)) → a__sel(mark(X1), mark(X2))
mark(cons(X1, X2)) → cons(mark(X1), X2)
mark(s(X)) → s(mark(X))
mark(0) → 0
mark(nil) → nil
a__from(X) → from(X)
a__first(X1, X2) → first(X1, X2)
a__sel(X1, X2) → sel(X1, X2)
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
MARK(sel(from(y0), cons(x0, x1))) → A__SEL(a__from(mark(y0)), cons(mark(x0), x1))
MARK(s(X)) → MARK(X)
MARK(first(first(y0, y1), from(x0))) → A__FIRST(a__first(mark(y0), mark(y1)), a__from(mark(x0)))
MARK(first(from(y0), first(x0, x1))) → A__FIRST(a__from(mark(y0)), a__first(mark(x0), mark(x1)))
MARK(cons(X1, X2)) → MARK(X1)
MARK(first(s(y0), cons(x0, x1))) → A__FIRST(s(mark(y0)), cons(mark(x0), x1))
MARK(first(from(y0), sel(x0, x1))) → A__FIRST(a__from(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(first(sel(y0, y1), from(x0))) → A__FIRST(a__sel(mark(y0), mark(y1)), a__from(mark(x0)))
A__SEL(0, cons(X, Z)) → MARK(X)
A__FIRST(s(X), cons(Y, Z)) → MARK(Y)
A__SEL(s(X), cons(Y, Z)) → MARK(Z)
A__SEL(s(sel(x0, x1)), cons(y1, y2)) → A__SEL(a__sel(mark(x0), mark(x1)), mark(y2))
MARK(first(sel(y0, y1), cons(x0, x1))) → A__FIRST(a__sel(mark(y0), mark(y1)), cons(mark(x0), x1))
MARK(first(from(y0), cons(x0, x1))) → A__FIRST(a__from(mark(y0)), cons(mark(x0), x1))
MARK(sel(0, y1)) → A__SEL(0, mark(y1))
A__SEL(s(X), cons(Y, Z)) → MARK(X)
MARK(first(sel(y0, y1), sel(x0, x1))) → A__FIRST(a__sel(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
MARK(first(X1, X2)) → MARK(X1)
A__SEL(s(from(x0)), cons(y1, y2)) → A__SEL(a__from(mark(x0)), mark(y2))
MARK(first(first(y0, y1), cons(x0, x1))) → A__FIRST(a__first(mark(y0), mark(y1)), cons(mark(x0), x1))
A__SEL(s(first(x0, x1)), cons(y1, y2)) → A__SEL(a__first(mark(x0), mark(x1)), mark(y2))
MARK(sel(X1, X2)) → MARK(X1)
MARK(from(X)) → MARK(X)
MARK(from(X)) → A__FROM(mark(X))
A__SEL(s(s(x0)), cons(y1, y2)) → A__SEL(s(mark(x0)), mark(y2))
MARK(sel(from(y0), from(x0))) → A__SEL(a__from(mark(y0)), a__from(mark(x0)))
MARK(first(s(y0), first(x0, x1))) → A__FIRST(s(mark(y0)), a__first(mark(x0), mark(x1)))
MARK(first(s(y0), sel(x0, x1))) → A__FIRST(s(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(first(from(y0), from(x0))) → A__FIRST(a__from(mark(y0)), a__from(mark(x0)))
MARK(first(X1, X2)) → MARK(X2)
MARK(sel(s(x0), y1)) → A__SEL(s(mark(x0)), mark(y1))
MARK(first(s(y0), from(x0))) → A__FIRST(s(mark(y0)), a__from(mark(x0)))
A__FROM(X) → MARK(X)
A__SEL(s(0), cons(y1, y2)) → A__SEL(0, mark(y2))
MARK(first(first(y0, y1), first(x0, x1))) → A__FIRST(a__first(mark(y0), mark(y1)), a__first(mark(x0), mark(x1)))
MARK(sel(from(y0), sel(x0, x1))) → A__SEL(a__from(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(first(first(y0, y1), sel(x0, x1))) → A__FIRST(a__first(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
MARK(first(sel(y0, y1), first(x0, x1))) → A__FIRST(a__sel(mark(y0), mark(y1)), a__first(mark(x0), mark(x1)))
MARK(sel(first(x0, x1), y1)) → A__SEL(a__first(mark(x0), mark(x1)), mark(y1))
MARK(sel(sel(x0, x1), y1)) → A__SEL(a__sel(mark(x0), mark(x1)), mark(y1))
MARK(sel(X1, X2)) → MARK(X2)
MARK(sel(from(y0), first(x0, x1))) → A__SEL(a__from(mark(y0)), a__first(mark(x0), mark(x1)))
a__from(X) → cons(mark(X), from(s(X)))
a__first(0, Z) → nil
a__first(s(X), cons(Y, Z)) → cons(mark(Y), first(X, Z))
a__sel(0, cons(X, Z)) → mark(X)
a__sel(s(X), cons(Y, Z)) → a__sel(mark(X), mark(Z))
mark(from(X)) → a__from(mark(X))
mark(first(X1, X2)) → a__first(mark(X1), mark(X2))
mark(sel(X1, X2)) → a__sel(mark(X1), mark(X2))
mark(cons(X1, X2)) → cons(mark(X1), X2)
mark(s(X)) → s(mark(X))
mark(0) → 0
mark(nil) → nil
a__from(X) → from(X)
a__first(X1, X2) → first(X1, X2)
a__sel(X1, X2) → sel(X1, X2)
MARK(sel(0, sel(x0, x1))) → A__SEL(0, a__sel(mark(x0), mark(x1)))
MARK(sel(0, cons(x0, x1))) → A__SEL(0, cons(mark(x0), x1))
MARK(sel(0, 0)) → A__SEL(0, 0)
MARK(sel(0, s(x0))) → A__SEL(0, s(mark(x0)))
MARK(sel(0, nil)) → A__SEL(0, nil)
MARK(sel(0, first(x0, x1))) → A__SEL(0, a__first(mark(x0), mark(x1)))
MARK(sel(0, from(x0))) → A__SEL(0, a__from(mark(x0)))
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
MARK(first(first(y0, y1), from(x0))) → A__FIRST(a__first(mark(y0), mark(y1)), a__from(mark(x0)))
MARK(first(from(y0), first(x0, x1))) → A__FIRST(a__from(mark(y0)), a__first(mark(x0), mark(x1)))
MARK(cons(X1, X2)) → MARK(X1)
MARK(first(from(y0), sel(x0, x1))) → A__FIRST(a__from(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(first(sel(y0, y1), from(x0))) → A__FIRST(a__sel(mark(y0), mark(y1)), a__from(mark(x0)))
A__SEL(s(X), cons(Y, Z)) → MARK(Z)
A__SEL(s(sel(x0, x1)), cons(y1, y2)) → A__SEL(a__sel(mark(x0), mark(x1)), mark(y2))
MARK(first(from(y0), cons(x0, x1))) → A__FIRST(a__from(mark(y0)), cons(mark(x0), x1))
MARK(first(sel(y0, y1), sel(x0, x1))) → A__FIRST(a__sel(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
A__SEL(s(from(x0)), cons(y1, y2)) → A__SEL(a__from(mark(x0)), mark(y2))
A__SEL(s(first(x0, x1)), cons(y1, y2)) → A__SEL(a__first(mark(x0), mark(x1)), mark(y2))
MARK(sel(X1, X2)) → MARK(X1)
MARK(first(from(y0), from(x0))) → A__FIRST(a__from(mark(y0)), a__from(mark(x0)))
MARK(first(X1, X2)) → MARK(X2)
MARK(sel(s(x0), y1)) → A__SEL(s(mark(x0)), mark(y1))
MARK(first(s(y0), from(x0))) → A__FIRST(s(mark(y0)), a__from(mark(x0)))
A__FROM(X) → MARK(X)
A__SEL(s(0), cons(y1, y2)) → A__SEL(0, mark(y2))
MARK(first(first(y0, y1), first(x0, x1))) → A__FIRST(a__first(mark(y0), mark(y1)), a__first(mark(x0), mark(x1)))
MARK(sel(from(y0), sel(x0, x1))) → A__SEL(a__from(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(sel(0, cons(x0, x1))) → A__SEL(0, cons(mark(x0), x1))
MARK(sel(0, 0)) → A__SEL(0, 0)
MARK(first(first(y0, y1), sel(x0, x1))) → A__FIRST(a__first(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
MARK(first(sel(y0, y1), first(x0, x1))) → A__FIRST(a__sel(mark(y0), mark(y1)), a__first(mark(x0), mark(x1)))
MARK(sel(sel(x0, x1), y1)) → A__SEL(a__sel(mark(x0), mark(x1)), mark(y1))
MARK(sel(from(y0), cons(x0, x1))) → A__SEL(a__from(mark(y0)), cons(mark(x0), x1))
MARK(s(X)) → MARK(X)
MARK(first(s(y0), cons(x0, x1))) → A__FIRST(s(mark(y0)), cons(mark(x0), x1))
A__SEL(0, cons(X, Z)) → MARK(X)
MARK(sel(0, from(x0))) → A__SEL(0, a__from(mark(x0)))
A__FIRST(s(X), cons(Y, Z)) → MARK(Y)
MARK(first(sel(y0, y1), cons(x0, x1))) → A__FIRST(a__sel(mark(y0), mark(y1)), cons(mark(x0), x1))
MARK(sel(0, nil)) → A__SEL(0, nil)
A__SEL(s(X), cons(Y, Z)) → MARK(X)
MARK(first(X1, X2)) → MARK(X1)
MARK(first(first(y0, y1), cons(x0, x1))) → A__FIRST(a__first(mark(y0), mark(y1)), cons(mark(x0), x1))
MARK(from(X)) → MARK(X)
MARK(from(X)) → A__FROM(mark(X))
A__SEL(s(s(x0)), cons(y1, y2)) → A__SEL(s(mark(x0)), mark(y2))
MARK(sel(from(y0), from(x0))) → A__SEL(a__from(mark(y0)), a__from(mark(x0)))
MARK(first(s(y0), first(x0, x1))) → A__FIRST(s(mark(y0)), a__first(mark(x0), mark(x1)))
MARK(first(s(y0), sel(x0, x1))) → A__FIRST(s(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(sel(0, s(x0))) → A__SEL(0, s(mark(x0)))
MARK(sel(0, first(x0, x1))) → A__SEL(0, a__first(mark(x0), mark(x1)))
MARK(sel(0, sel(x0, x1))) → A__SEL(0, a__sel(mark(x0), mark(x1)))
MARK(sel(first(x0, x1), y1)) → A__SEL(a__first(mark(x0), mark(x1)), mark(y1))
MARK(sel(X1, X2)) → MARK(X2)
MARK(sel(from(y0), first(x0, x1))) → A__SEL(a__from(mark(y0)), a__first(mark(x0), mark(x1)))
a__from(X) → cons(mark(X), from(s(X)))
a__first(0, Z) → nil
a__first(s(X), cons(Y, Z)) → cons(mark(Y), first(X, Z))
a__sel(0, cons(X, Z)) → mark(X)
a__sel(s(X), cons(Y, Z)) → a__sel(mark(X), mark(Z))
mark(from(X)) → a__from(mark(X))
mark(first(X1, X2)) → a__first(mark(X1), mark(X2))
mark(sel(X1, X2)) → a__sel(mark(X1), mark(X2))
mark(cons(X1, X2)) → cons(mark(X1), X2)
mark(s(X)) → s(mark(X))
mark(0) → 0
mark(nil) → nil
a__from(X) → from(X)
a__first(X1, X2) → first(X1, X2)
a__sel(X1, X2) → sel(X1, X2)
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
MARK(sel(from(y0), cons(x0, x1))) → A__SEL(a__from(mark(y0)), cons(mark(x0), x1))
MARK(s(X)) → MARK(X)
MARK(first(first(y0, y1), from(x0))) → A__FIRST(a__first(mark(y0), mark(y1)), a__from(mark(x0)))
MARK(cons(X1, X2)) → MARK(X1)
MARK(first(from(y0), first(x0, x1))) → A__FIRST(a__from(mark(y0)), a__first(mark(x0), mark(x1)))
MARK(first(s(y0), cons(x0, x1))) → A__FIRST(s(mark(y0)), cons(mark(x0), x1))
MARK(first(sel(y0, y1), from(x0))) → A__FIRST(a__sel(mark(y0), mark(y1)), a__from(mark(x0)))
MARK(first(from(y0), sel(x0, x1))) → A__FIRST(a__from(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(sel(0, from(x0))) → A__SEL(0, a__from(mark(x0)))
A__SEL(0, cons(X, Z)) → MARK(X)
A__FIRST(s(X), cons(Y, Z)) → MARK(Y)
A__SEL(s(sel(x0, x1)), cons(y1, y2)) → A__SEL(a__sel(mark(x0), mark(x1)), mark(y2))
A__SEL(s(X), cons(Y, Z)) → MARK(Z)
MARK(first(sel(y0, y1), cons(x0, x1))) → A__FIRST(a__sel(mark(y0), mark(y1)), cons(mark(x0), x1))
MARK(first(from(y0), cons(x0, x1))) → A__FIRST(a__from(mark(y0)), cons(mark(x0), x1))
A__SEL(s(X), cons(Y, Z)) → MARK(X)
MARK(first(sel(y0, y1), sel(x0, x1))) → A__FIRST(a__sel(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
A__SEL(s(from(x0)), cons(y1, y2)) → A__SEL(a__from(mark(x0)), mark(y2))
MARK(first(X1, X2)) → MARK(X1)
A__SEL(s(first(x0, x1)), cons(y1, y2)) → A__SEL(a__first(mark(x0), mark(x1)), mark(y2))
MARK(first(first(y0, y1), cons(x0, x1))) → A__FIRST(a__first(mark(y0), mark(y1)), cons(mark(x0), x1))
MARK(sel(X1, X2)) → MARK(X1)
MARK(from(X)) → MARK(X)
A__SEL(s(s(x0)), cons(y1, y2)) → A__SEL(s(mark(x0)), mark(y2))
MARK(from(X)) → A__FROM(mark(X))
MARK(sel(from(y0), from(x0))) → A__SEL(a__from(mark(y0)), a__from(mark(x0)))
MARK(first(s(y0), first(x0, x1))) → A__FIRST(s(mark(y0)), a__first(mark(x0), mark(x1)))
MARK(first(s(y0), sel(x0, x1))) → A__FIRST(s(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(first(from(y0), from(x0))) → A__FIRST(a__from(mark(y0)), a__from(mark(x0)))
MARK(first(X1, X2)) → MARK(X2)
MARK(sel(s(x0), y1)) → A__SEL(s(mark(x0)), mark(y1))
MARK(sel(0, first(x0, x1))) → A__SEL(0, a__first(mark(x0), mark(x1)))
MARK(first(s(y0), from(x0))) → A__FIRST(s(mark(y0)), a__from(mark(x0)))
A__FROM(X) → MARK(X)
A__SEL(s(0), cons(y1, y2)) → A__SEL(0, mark(y2))
MARK(first(first(y0, y1), first(x0, x1))) → A__FIRST(a__first(mark(y0), mark(y1)), a__first(mark(x0), mark(x1)))
MARK(sel(0, sel(x0, x1))) → A__SEL(0, a__sel(mark(x0), mark(x1)))
MARK(sel(0, cons(x0, x1))) → A__SEL(0, cons(mark(x0), x1))
MARK(sel(from(y0), sel(x0, x1))) → A__SEL(a__from(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(first(first(y0, y1), sel(x0, x1))) → A__FIRST(a__first(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
MARK(first(sel(y0, y1), first(x0, x1))) → A__FIRST(a__sel(mark(y0), mark(y1)), a__first(mark(x0), mark(x1)))
MARK(sel(sel(x0, x1), y1)) → A__SEL(a__sel(mark(x0), mark(x1)), mark(y1))
MARK(sel(first(x0, x1), y1)) → A__SEL(a__first(mark(x0), mark(x1)), mark(y1))
MARK(sel(X1, X2)) → MARK(X2)
MARK(sel(from(y0), first(x0, x1))) → A__SEL(a__from(mark(y0)), a__first(mark(x0), mark(x1)))
a__from(X) → cons(mark(X), from(s(X)))
a__first(0, Z) → nil
a__first(s(X), cons(Y, Z)) → cons(mark(Y), first(X, Z))
a__sel(0, cons(X, Z)) → mark(X)
a__sel(s(X), cons(Y, Z)) → a__sel(mark(X), mark(Z))
mark(from(X)) → a__from(mark(X))
mark(first(X1, X2)) → a__first(mark(X1), mark(X2))
mark(sel(X1, X2)) → a__sel(mark(X1), mark(X2))
mark(cons(X1, X2)) → cons(mark(X1), X2)
mark(s(X)) → s(mark(X))
mark(0) → 0
mark(nil) → nil
a__from(X) → from(X)
a__first(X1, X2) → first(X1, X2)
a__sel(X1, X2) → sel(X1, X2)
MARK(sel(first(y0, y1), s(x0))) → A__SEL(a__first(mark(y0), mark(y1)), s(mark(x0)))
MARK(sel(first(y0, y1), sel(x0, x1))) → A__SEL(a__first(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
MARK(sel(first(y0, y1), first(x0, x1))) → A__SEL(a__first(mark(y0), mark(y1)), a__first(mark(x0), mark(x1)))
MARK(sel(first(y0, y1), 0)) → A__SEL(a__first(mark(y0), mark(y1)), 0)
MARK(sel(first(y0, y1), nil)) → A__SEL(a__first(mark(y0), mark(y1)), nil)
MARK(sel(first(y0, y1), cons(x0, x1))) → A__SEL(a__first(mark(y0), mark(y1)), cons(mark(x0), x1))
MARK(sel(first(y0, y1), from(x0))) → A__SEL(a__first(mark(y0), mark(y1)), a__from(mark(x0)))
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
MARK(sel(first(y0, y1), first(x0, x1))) → A__SEL(a__first(mark(y0), mark(y1)), a__first(mark(x0), mark(x1)))
MARK(first(first(y0, y1), from(x0))) → A__FIRST(a__first(mark(y0), mark(y1)), a__from(mark(x0)))
MARK(cons(X1, X2)) → MARK(X1)
MARK(first(from(y0), first(x0, x1))) → A__FIRST(a__from(mark(y0)), a__first(mark(x0), mark(x1)))
MARK(first(sel(y0, y1), from(x0))) → A__FIRST(a__sel(mark(y0), mark(y1)), a__from(mark(x0)))
MARK(first(from(y0), sel(x0, x1))) → A__FIRST(a__from(mark(y0)), a__sel(mark(x0), mark(x1)))
A__SEL(s(sel(x0, x1)), cons(y1, y2)) → A__SEL(a__sel(mark(x0), mark(x1)), mark(y2))
A__SEL(s(X), cons(Y, Z)) → MARK(Z)
MARK(first(from(y0), cons(x0, x1))) → A__FIRST(a__from(mark(y0)), cons(mark(x0), x1))
MARK(first(sel(y0, y1), sel(x0, x1))) → A__FIRST(a__sel(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
A__SEL(s(from(x0)), cons(y1, y2)) → A__SEL(a__from(mark(x0)), mark(y2))
A__SEL(s(first(x0, x1)), cons(y1, y2)) → A__SEL(a__first(mark(x0), mark(x1)), mark(y2))
MARK(sel(X1, X2)) → MARK(X1)
MARK(first(from(y0), from(x0))) → A__FIRST(a__from(mark(y0)), a__from(mark(x0)))
MARK(first(X1, X2)) → MARK(X2)
MARK(sel(s(x0), y1)) → A__SEL(s(mark(x0)), mark(y1))
MARK(first(s(y0), from(x0))) → A__FIRST(s(mark(y0)), a__from(mark(x0)))
A__FROM(X) → MARK(X)
MARK(sel(first(y0, y1), nil)) → A__SEL(a__first(mark(y0), mark(y1)), nil)
A__SEL(s(0), cons(y1, y2)) → A__SEL(0, mark(y2))
MARK(first(first(y0, y1), first(x0, x1))) → A__FIRST(a__first(mark(y0), mark(y1)), a__first(mark(x0), mark(x1)))
MARK(sel(0, cons(x0, x1))) → A__SEL(0, cons(mark(x0), x1))
MARK(sel(from(y0), sel(x0, x1))) → A__SEL(a__from(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(first(first(y0, y1), sel(x0, x1))) → A__FIRST(a__first(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
MARK(first(sel(y0, y1), first(x0, x1))) → A__FIRST(a__sel(mark(y0), mark(y1)), a__first(mark(x0), mark(x1)))
MARK(sel(sel(x0, x1), y1)) → A__SEL(a__sel(mark(x0), mark(x1)), mark(y1))
MARK(sel(first(y0, y1), cons(x0, x1))) → A__SEL(a__first(mark(y0), mark(y1)), cons(mark(x0), x1))
MARK(sel(from(y0), cons(x0, x1))) → A__SEL(a__from(mark(y0)), cons(mark(x0), x1))
MARK(s(X)) → MARK(X)
MARK(sel(first(y0, y1), sel(x0, x1))) → A__SEL(a__first(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
MARK(first(s(y0), cons(x0, x1))) → A__FIRST(s(mark(y0)), cons(mark(x0), x1))
MARK(sel(0, from(x0))) → A__SEL(0, a__from(mark(x0)))
A__SEL(0, cons(X, Z)) → MARK(X)
A__FIRST(s(X), cons(Y, Z)) → MARK(Y)
MARK(first(sel(y0, y1), cons(x0, x1))) → A__FIRST(a__sel(mark(y0), mark(y1)), cons(mark(x0), x1))
A__SEL(s(X), cons(Y, Z)) → MARK(X)
MARK(first(X1, X2)) → MARK(X1)
MARK(first(first(y0, y1), cons(x0, x1))) → A__FIRST(a__first(mark(y0), mark(y1)), cons(mark(x0), x1))
MARK(from(X)) → MARK(X)
A__SEL(s(s(x0)), cons(y1, y2)) → A__SEL(s(mark(x0)), mark(y2))
MARK(from(X)) → A__FROM(mark(X))
MARK(sel(first(y0, y1), s(x0))) → A__SEL(a__first(mark(y0), mark(y1)), s(mark(x0)))
MARK(sel(from(y0), from(x0))) → A__SEL(a__from(mark(y0)), a__from(mark(x0)))
MARK(first(s(y0), first(x0, x1))) → A__FIRST(s(mark(y0)), a__first(mark(x0), mark(x1)))
MARK(first(s(y0), sel(x0, x1))) → A__FIRST(s(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(sel(0, first(x0, x1))) → A__SEL(0, a__first(mark(x0), mark(x1)))
MARK(sel(first(y0, y1), 0)) → A__SEL(a__first(mark(y0), mark(y1)), 0)
MARK(sel(0, sel(x0, x1))) → A__SEL(0, a__sel(mark(x0), mark(x1)))
MARK(sel(X1, X2)) → MARK(X2)
MARK(sel(first(y0, y1), from(x0))) → A__SEL(a__first(mark(y0), mark(y1)), a__from(mark(x0)))
MARK(sel(from(y0), first(x0, x1))) → A__SEL(a__from(mark(y0)), a__first(mark(x0), mark(x1)))
a__from(X) → cons(mark(X), from(s(X)))
a__first(0, Z) → nil
a__first(s(X), cons(Y, Z)) → cons(mark(Y), first(X, Z))
a__sel(0, cons(X, Z)) → mark(X)
a__sel(s(X), cons(Y, Z)) → a__sel(mark(X), mark(Z))
mark(from(X)) → a__from(mark(X))
mark(first(X1, X2)) → a__first(mark(X1), mark(X2))
mark(sel(X1, X2)) → a__sel(mark(X1), mark(X2))
mark(cons(X1, X2)) → cons(mark(X1), X2)
mark(s(X)) → s(mark(X))
mark(0) → 0
mark(nil) → nil
a__from(X) → from(X)
a__first(X1, X2) → first(X1, X2)
a__sel(X1, X2) → sel(X1, X2)
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
MARK(sel(from(y0), cons(x0, x1))) → A__SEL(a__from(mark(y0)), cons(mark(x0), x1))
MARK(s(X)) → MARK(X)
MARK(sel(first(y0, y1), first(x0, x1))) → A__SEL(a__first(mark(y0), mark(y1)), a__first(mark(x0), mark(x1)))
MARK(sel(first(y0, y1), sel(x0, x1))) → A__SEL(a__first(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
MARK(first(first(y0, y1), from(x0))) → A__FIRST(a__first(mark(y0), mark(y1)), a__from(mark(x0)))
MARK(cons(X1, X2)) → MARK(X1)
MARK(first(from(y0), first(x0, x1))) → A__FIRST(a__from(mark(y0)), a__first(mark(x0), mark(x1)))
MARK(first(sel(y0, y1), from(x0))) → A__FIRST(a__sel(mark(y0), mark(y1)), a__from(mark(x0)))
MARK(first(from(y0), sel(x0, x1))) → A__FIRST(a__from(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(first(s(y0), cons(x0, x1))) → A__FIRST(s(mark(y0)), cons(mark(x0), x1))
MARK(sel(0, from(x0))) → A__SEL(0, a__from(mark(x0)))
A__SEL(0, cons(X, Z)) → MARK(X)
A__FIRST(s(X), cons(Y, Z)) → MARK(Y)
A__SEL(s(sel(x0, x1)), cons(y1, y2)) → A__SEL(a__sel(mark(x0), mark(x1)), mark(y2))
A__SEL(s(X), cons(Y, Z)) → MARK(Z)
MARK(first(sel(y0, y1), cons(x0, x1))) → A__FIRST(a__sel(mark(y0), mark(y1)), cons(mark(x0), x1))
MARK(first(from(y0), cons(x0, x1))) → A__FIRST(a__from(mark(y0)), cons(mark(x0), x1))
A__SEL(s(X), cons(Y, Z)) → MARK(X)
MARK(first(sel(y0, y1), sel(x0, x1))) → A__FIRST(a__sel(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
A__SEL(s(from(x0)), cons(y1, y2)) → A__SEL(a__from(mark(x0)), mark(y2))
MARK(first(X1, X2)) → MARK(X1)
A__SEL(s(first(x0, x1)), cons(y1, y2)) → A__SEL(a__first(mark(x0), mark(x1)), mark(y2))
MARK(first(first(y0, y1), cons(x0, x1))) → A__FIRST(a__first(mark(y0), mark(y1)), cons(mark(x0), x1))
MARK(sel(X1, X2)) → MARK(X1)
MARK(from(X)) → MARK(X)
A__SEL(s(s(x0)), cons(y1, y2)) → A__SEL(s(mark(x0)), mark(y2))
MARK(from(X)) → A__FROM(mark(X))
MARK(sel(from(y0), from(x0))) → A__SEL(a__from(mark(y0)), a__from(mark(x0)))
MARK(first(s(y0), first(x0, x1))) → A__FIRST(s(mark(y0)), a__first(mark(x0), mark(x1)))
MARK(first(from(y0), from(x0))) → A__FIRST(a__from(mark(y0)), a__from(mark(x0)))
MARK(first(s(y0), sel(x0, x1))) → A__FIRST(s(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(first(X1, X2)) → MARK(X2)
MARK(sel(s(x0), y1)) → A__SEL(s(mark(x0)), mark(y1))
MARK(sel(0, first(x0, x1))) → A__SEL(0, a__first(mark(x0), mark(x1)))
MARK(first(s(y0), from(x0))) → A__FIRST(s(mark(y0)), a__from(mark(x0)))
A__FROM(X) → MARK(X)
A__SEL(s(0), cons(y1, y2)) → A__SEL(0, mark(y2))
MARK(first(first(y0, y1), first(x0, x1))) → A__FIRST(a__first(mark(y0), mark(y1)), a__first(mark(x0), mark(x1)))
MARK(sel(0, sel(x0, x1))) → A__SEL(0, a__sel(mark(x0), mark(x1)))
MARK(sel(0, cons(x0, x1))) → A__SEL(0, cons(mark(x0), x1))
MARK(sel(from(y0), sel(x0, x1))) → A__SEL(a__from(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(first(first(y0, y1), sel(x0, x1))) → A__FIRST(a__first(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
MARK(first(sel(y0, y1), first(x0, x1))) → A__FIRST(a__sel(mark(y0), mark(y1)), a__first(mark(x0), mark(x1)))
MARK(sel(sel(x0, x1), y1)) → A__SEL(a__sel(mark(x0), mark(x1)), mark(y1))
MARK(sel(first(y0, y1), cons(x0, x1))) → A__SEL(a__first(mark(y0), mark(y1)), cons(mark(x0), x1))
MARK(sel(X1, X2)) → MARK(X2)
MARK(sel(first(y0, y1), from(x0))) → A__SEL(a__first(mark(y0), mark(y1)), a__from(mark(x0)))
MARK(sel(from(y0), first(x0, x1))) → A__SEL(a__from(mark(y0)), a__first(mark(x0), mark(x1)))
a__from(X) → cons(mark(X), from(s(X)))
a__first(0, Z) → nil
a__first(s(X), cons(Y, Z)) → cons(mark(Y), first(X, Z))
a__sel(0, cons(X, Z)) → mark(X)
a__sel(s(X), cons(Y, Z)) → a__sel(mark(X), mark(Z))
mark(from(X)) → a__from(mark(X))
mark(first(X1, X2)) → a__first(mark(X1), mark(X2))
mark(sel(X1, X2)) → a__sel(mark(X1), mark(X2))
mark(cons(X1, X2)) → cons(mark(X1), X2)
mark(s(X)) → s(mark(X))
mark(0) → 0
mark(nil) → nil
a__from(X) → from(X)
a__first(X1, X2) → first(X1, X2)
a__sel(X1, X2) → sel(X1, X2)
MARK(sel(sel(y0, y1), sel(x0, x1))) → A__SEL(a__sel(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
MARK(sel(sel(y0, y1), cons(x0, x1))) → A__SEL(a__sel(mark(y0), mark(y1)), cons(mark(x0), x1))
MARK(sel(sel(y0, y1), s(x0))) → A__SEL(a__sel(mark(y0), mark(y1)), s(mark(x0)))
MARK(sel(sel(y0, y1), first(x0, x1))) → A__SEL(a__sel(mark(y0), mark(y1)), a__first(mark(x0), mark(x1)))
MARK(sel(sel(y0, y1), 0)) → A__SEL(a__sel(mark(y0), mark(y1)), 0)
MARK(sel(sel(y0, y1), from(x0))) → A__SEL(a__sel(mark(y0), mark(y1)), a__from(mark(x0)))
MARK(sel(sel(y0, y1), nil)) → A__SEL(a__sel(mark(y0), mark(y1)), nil)
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
MARK(sel(sel(y0, y1), sel(x0, x1))) → A__SEL(a__sel(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
MARK(sel(first(y0, y1), first(x0, x1))) → A__SEL(a__first(mark(y0), mark(y1)), a__first(mark(x0), mark(x1)))
MARK(first(from(y0), first(x0, x1))) → A__FIRST(a__from(mark(y0)), a__first(mark(x0), mark(x1)))
MARK(cons(X1, X2)) → MARK(X1)
MARK(first(first(y0, y1), from(x0))) → A__FIRST(a__first(mark(y0), mark(y1)), a__from(mark(x0)))
MARK(first(from(y0), sel(x0, x1))) → A__FIRST(a__from(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(first(sel(y0, y1), from(x0))) → A__FIRST(a__sel(mark(y0), mark(y1)), a__from(mark(x0)))
A__SEL(s(X), cons(Y, Z)) → MARK(Z)
A__SEL(s(sel(x0, x1)), cons(y1, y2)) → A__SEL(a__sel(mark(x0), mark(x1)), mark(y2))
MARK(first(from(y0), cons(x0, x1))) → A__FIRST(a__from(mark(y0)), cons(mark(x0), x1))
MARK(first(sel(y0, y1), sel(x0, x1))) → A__FIRST(a__sel(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
A__SEL(s(from(x0)), cons(y1, y2)) → A__SEL(a__from(mark(x0)), mark(y2))
A__SEL(s(first(x0, x1)), cons(y1, y2)) → A__SEL(a__first(mark(x0), mark(x1)), mark(y2))
MARK(sel(X1, X2)) → MARK(X1)
MARK(sel(sel(y0, y1), cons(x0, x1))) → A__SEL(a__sel(mark(y0), mark(y1)), cons(mark(x0), x1))
MARK(first(from(y0), from(x0))) → A__FIRST(a__from(mark(y0)), a__from(mark(x0)))
MARK(first(X1, X2)) → MARK(X2)
MARK(sel(s(x0), y1)) → A__SEL(s(mark(x0)), mark(y1))
A__FROM(X) → MARK(X)
MARK(first(s(y0), from(x0))) → A__FIRST(s(mark(y0)), a__from(mark(x0)))
A__SEL(s(0), cons(y1, y2)) → A__SEL(0, mark(y2))
MARK(first(first(y0, y1), first(x0, x1))) → A__FIRST(a__first(mark(y0), mark(y1)), a__first(mark(x0), mark(x1)))
MARK(sel(sel(y0, y1), from(x0))) → A__SEL(a__sel(mark(y0), mark(y1)), a__from(mark(x0)))
MARK(sel(from(y0), sel(x0, x1))) → A__SEL(a__from(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(sel(0, cons(x0, x1))) → A__SEL(0, cons(mark(x0), x1))
MARK(first(sel(y0, y1), first(x0, x1))) → A__FIRST(a__sel(mark(y0), mark(y1)), a__first(mark(x0), mark(x1)))
MARK(first(first(y0, y1), sel(x0, x1))) → A__FIRST(a__first(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
MARK(sel(first(y0, y1), cons(x0, x1))) → A__SEL(a__first(mark(y0), mark(y1)), cons(mark(x0), x1))
MARK(sel(from(y0), cons(x0, x1))) → A__SEL(a__from(mark(y0)), cons(mark(x0), x1))
MARK(s(X)) → MARK(X)
MARK(sel(sel(y0, y1), first(x0, x1))) → A__SEL(a__sel(mark(y0), mark(y1)), a__first(mark(x0), mark(x1)))
MARK(sel(sel(y0, y1), s(x0))) → A__SEL(a__sel(mark(y0), mark(y1)), s(mark(x0)))
MARK(sel(first(y0, y1), sel(x0, x1))) → A__SEL(a__first(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
MARK(first(s(y0), cons(x0, x1))) → A__FIRST(s(mark(y0)), cons(mark(x0), x1))
A__SEL(0, cons(X, Z)) → MARK(X)
MARK(sel(0, from(x0))) → A__SEL(0, a__from(mark(x0)))
A__FIRST(s(X), cons(Y, Z)) → MARK(Y)
MARK(first(sel(y0, y1), cons(x0, x1))) → A__FIRST(a__sel(mark(y0), mark(y1)), cons(mark(x0), x1))
A__SEL(s(X), cons(Y, Z)) → MARK(X)
MARK(first(X1, X2)) → MARK(X1)
MARK(first(first(y0, y1), cons(x0, x1))) → A__FIRST(a__first(mark(y0), mark(y1)), cons(mark(x0), x1))
MARK(from(X)) → MARK(X)
MARK(from(X)) → A__FROM(mark(X))
A__SEL(s(s(x0)), cons(y1, y2)) → A__SEL(s(mark(x0)), mark(y2))
MARK(first(s(y0), first(x0, x1))) → A__FIRST(s(mark(y0)), a__first(mark(x0), mark(x1)))
MARK(sel(from(y0), from(x0))) → A__SEL(a__from(mark(y0)), a__from(mark(x0)))
MARK(first(s(y0), sel(x0, x1))) → A__FIRST(s(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(sel(0, first(x0, x1))) → A__SEL(0, a__first(mark(x0), mark(x1)))
MARK(sel(sel(y0, y1), 0)) → A__SEL(a__sel(mark(y0), mark(y1)), 0)
MARK(sel(0, sel(x0, x1))) → A__SEL(0, a__sel(mark(x0), mark(x1)))
MARK(sel(sel(y0, y1), nil)) → A__SEL(a__sel(mark(y0), mark(y1)), nil)
MARK(sel(X1, X2)) → MARK(X2)
MARK(sel(from(y0), first(x0, x1))) → A__SEL(a__from(mark(y0)), a__first(mark(x0), mark(x1)))
MARK(sel(first(y0, y1), from(x0))) → A__SEL(a__first(mark(y0), mark(y1)), a__from(mark(x0)))
a__from(X) → cons(mark(X), from(s(X)))
a__first(0, Z) → nil
a__first(s(X), cons(Y, Z)) → cons(mark(Y), first(X, Z))
a__sel(0, cons(X, Z)) → mark(X)
a__sel(s(X), cons(Y, Z)) → a__sel(mark(X), mark(Z))
mark(from(X)) → a__from(mark(X))
mark(first(X1, X2)) → a__first(mark(X1), mark(X2))
mark(sel(X1, X2)) → a__sel(mark(X1), mark(X2))
mark(cons(X1, X2)) → cons(mark(X1), X2)
mark(s(X)) → s(mark(X))
mark(0) → 0
mark(nil) → nil
a__from(X) → from(X)
a__first(X1, X2) → first(X1, X2)
a__sel(X1, X2) → sel(X1, X2)
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
MARK(sel(sel(y0, y1), sel(x0, x1))) → A__SEL(a__sel(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
MARK(sel(first(y0, y1), first(x0, x1))) → A__SEL(a__first(mark(y0), mark(y1)), a__first(mark(x0), mark(x1)))
MARK(first(from(y0), first(x0, x1))) → A__FIRST(a__from(mark(y0)), a__first(mark(x0), mark(x1)))
MARK(cons(X1, X2)) → MARK(X1)
MARK(first(first(y0, y1), from(x0))) → A__FIRST(a__first(mark(y0), mark(y1)), a__from(mark(x0)))
MARK(first(from(y0), sel(x0, x1))) → A__FIRST(a__from(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(first(sel(y0, y1), from(x0))) → A__FIRST(a__sel(mark(y0), mark(y1)), a__from(mark(x0)))
A__SEL(s(X), cons(Y, Z)) → MARK(Z)
A__SEL(s(sel(x0, x1)), cons(y1, y2)) → A__SEL(a__sel(mark(x0), mark(x1)), mark(y2))
MARK(first(from(y0), cons(x0, x1))) → A__FIRST(a__from(mark(y0)), cons(mark(x0), x1))
MARK(first(sel(y0, y1), sel(x0, x1))) → A__FIRST(a__sel(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
A__SEL(s(from(x0)), cons(y1, y2)) → A__SEL(a__from(mark(x0)), mark(y2))
A__SEL(s(first(x0, x1)), cons(y1, y2)) → A__SEL(a__first(mark(x0), mark(x1)), mark(y2))
MARK(sel(X1, X2)) → MARK(X1)
MARK(sel(sel(y0, y1), cons(x0, x1))) → A__SEL(a__sel(mark(y0), mark(y1)), cons(mark(x0), x1))
MARK(first(from(y0), from(x0))) → A__FIRST(a__from(mark(y0)), a__from(mark(x0)))
MARK(first(X1, X2)) → MARK(X2)
MARK(sel(s(x0), y1)) → A__SEL(s(mark(x0)), mark(y1))
MARK(first(s(y0), from(x0))) → A__FIRST(s(mark(y0)), a__from(mark(x0)))
A__FROM(X) → MARK(X)
A__SEL(s(0), cons(y1, y2)) → A__SEL(0, mark(y2))
MARK(first(first(y0, y1), first(x0, x1))) → A__FIRST(a__first(mark(y0), mark(y1)), a__first(mark(x0), mark(x1)))
MARK(sel(sel(y0, y1), from(x0))) → A__SEL(a__sel(mark(y0), mark(y1)), a__from(mark(x0)))
MARK(sel(from(y0), sel(x0, x1))) → A__SEL(a__from(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(sel(0, cons(x0, x1))) → A__SEL(0, cons(mark(x0), x1))
MARK(first(sel(y0, y1), first(x0, x1))) → A__FIRST(a__sel(mark(y0), mark(y1)), a__first(mark(x0), mark(x1)))
MARK(first(first(y0, y1), sel(x0, x1))) → A__FIRST(a__first(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
MARK(sel(first(y0, y1), cons(x0, x1))) → A__SEL(a__first(mark(y0), mark(y1)), cons(mark(x0), x1))
MARK(sel(from(y0), cons(x0, x1))) → A__SEL(a__from(mark(y0)), cons(mark(x0), x1))
MARK(s(X)) → MARK(X)
MARK(sel(sel(y0, y1), first(x0, x1))) → A__SEL(a__sel(mark(y0), mark(y1)), a__first(mark(x0), mark(x1)))
MARK(sel(first(y0, y1), sel(x0, x1))) → A__SEL(a__first(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
MARK(first(s(y0), cons(x0, x1))) → A__FIRST(s(mark(y0)), cons(mark(x0), x1))
A__SEL(0, cons(X, Z)) → MARK(X)
MARK(sel(0, from(x0))) → A__SEL(0, a__from(mark(x0)))
A__FIRST(s(X), cons(Y, Z)) → MARK(Y)
MARK(first(sel(y0, y1), cons(x0, x1))) → A__FIRST(a__sel(mark(y0), mark(y1)), cons(mark(x0), x1))
A__SEL(s(X), cons(Y, Z)) → MARK(X)
MARK(first(X1, X2)) → MARK(X1)
MARK(first(first(y0, y1), cons(x0, x1))) → A__FIRST(a__first(mark(y0), mark(y1)), cons(mark(x0), x1))
MARK(from(X)) → MARK(X)
MARK(from(X)) → A__FROM(mark(X))
A__SEL(s(s(x0)), cons(y1, y2)) → A__SEL(s(mark(x0)), mark(y2))
MARK(first(s(y0), first(x0, x1))) → A__FIRST(s(mark(y0)), a__first(mark(x0), mark(x1)))
MARK(sel(from(y0), from(x0))) → A__SEL(a__from(mark(y0)), a__from(mark(x0)))
MARK(first(s(y0), sel(x0, x1))) → A__FIRST(s(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(sel(0, first(x0, x1))) → A__SEL(0, a__first(mark(x0), mark(x1)))
MARK(sel(0, sel(x0, x1))) → A__SEL(0, a__sel(mark(x0), mark(x1)))
MARK(sel(X1, X2)) → MARK(X2)
MARK(sel(from(y0), first(x0, x1))) → A__SEL(a__from(mark(y0)), a__first(mark(x0), mark(x1)))
MARK(sel(first(y0, y1), from(x0))) → A__SEL(a__first(mark(y0), mark(y1)), a__from(mark(x0)))
a__from(X) → cons(mark(X), from(s(X)))
a__first(0, Z) → nil
a__first(s(X), cons(Y, Z)) → cons(mark(Y), first(X, Z))
a__sel(0, cons(X, Z)) → mark(X)
a__sel(s(X), cons(Y, Z)) → a__sel(mark(X), mark(Z))
mark(from(X)) → a__from(mark(X))
mark(first(X1, X2)) → a__first(mark(X1), mark(X2))
mark(sel(X1, X2)) → a__sel(mark(X1), mark(X2))
mark(cons(X1, X2)) → cons(mark(X1), X2)
mark(s(X)) → s(mark(X))
mark(0) → 0
mark(nil) → nil
a__from(X) → from(X)
a__first(X1, X2) → first(X1, X2)
a__sel(X1, X2) → sel(X1, X2)
MARK(sel(s(y0), first(x0, x1))) → A__SEL(s(mark(y0)), a__first(mark(x0), mark(x1)))
MARK(sel(s(y0), cons(x0, x1))) → A__SEL(s(mark(y0)), cons(mark(x0), x1))
MARK(sel(s(y0), from(x0))) → A__SEL(s(mark(y0)), a__from(mark(x0)))
MARK(sel(s(y0), sel(x0, x1))) → A__SEL(s(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(sel(s(y0), 0)) → A__SEL(s(mark(y0)), 0)
MARK(sel(s(y0), s(x0))) → A__SEL(s(mark(y0)), s(mark(x0)))
MARK(sel(s(y0), nil)) → A__SEL(s(mark(y0)), nil)
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
MARK(sel(sel(y0, y1), sel(x0, x1))) → A__SEL(a__sel(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
MARK(sel(s(y0), cons(x0, x1))) → A__SEL(s(mark(y0)), cons(mark(x0), x1))
MARK(sel(first(y0, y1), first(x0, x1))) → A__SEL(a__first(mark(y0), mark(y1)), a__first(mark(x0), mark(x1)))
MARK(first(first(y0, y1), from(x0))) → A__FIRST(a__first(mark(y0), mark(y1)), a__from(mark(x0)))
MARK(cons(X1, X2)) → MARK(X1)
MARK(first(from(y0), first(x0, x1))) → A__FIRST(a__from(mark(y0)), a__first(mark(x0), mark(x1)))
MARK(first(sel(y0, y1), from(x0))) → A__FIRST(a__sel(mark(y0), mark(y1)), a__from(mark(x0)))
MARK(first(from(y0), sel(x0, x1))) → A__FIRST(a__from(mark(y0)), a__sel(mark(x0), mark(x1)))
A__SEL(s(sel(x0, x1)), cons(y1, y2)) → A__SEL(a__sel(mark(x0), mark(x1)), mark(y2))
A__SEL(s(X), cons(Y, Z)) → MARK(Z)
MARK(first(from(y0), cons(x0, x1))) → A__FIRST(a__from(mark(y0)), cons(mark(x0), x1))
MARK(sel(s(y0), from(x0))) → A__SEL(s(mark(y0)), a__from(mark(x0)))
MARK(first(sel(y0, y1), sel(x0, x1))) → A__FIRST(a__sel(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
A__SEL(s(from(x0)), cons(y1, y2)) → A__SEL(a__from(mark(x0)), mark(y2))
A__SEL(s(first(x0, x1)), cons(y1, y2)) → A__SEL(a__first(mark(x0), mark(x1)), mark(y2))
MARK(sel(X1, X2)) → MARK(X1)
MARK(sel(sel(y0, y1), cons(x0, x1))) → A__SEL(a__sel(mark(y0), mark(y1)), cons(mark(x0), x1))
MARK(first(from(y0), from(x0))) → A__FIRST(a__from(mark(y0)), a__from(mark(x0)))
MARK(first(X1, X2)) → MARK(X2)
A__FROM(X) → MARK(X)
MARK(first(s(y0), from(x0))) → A__FIRST(s(mark(y0)), a__from(mark(x0)))
A__SEL(s(0), cons(y1, y2)) → A__SEL(0, mark(y2))
MARK(first(first(y0, y1), first(x0, x1))) → A__FIRST(a__first(mark(y0), mark(y1)), a__first(mark(x0), mark(x1)))
MARK(sel(0, cons(x0, x1))) → A__SEL(0, cons(mark(x0), x1))
MARK(sel(from(y0), sel(x0, x1))) → A__SEL(a__from(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(sel(sel(y0, y1), from(x0))) → A__SEL(a__sel(mark(y0), mark(y1)), a__from(mark(x0)))
MARK(first(first(y0, y1), sel(x0, x1))) → A__FIRST(a__first(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
MARK(first(sel(y0, y1), first(x0, x1))) → A__FIRST(a__sel(mark(y0), mark(y1)), a__first(mark(x0), mark(x1)))
MARK(sel(first(y0, y1), cons(x0, x1))) → A__SEL(a__first(mark(y0), mark(y1)), cons(mark(x0), x1))
MARK(sel(from(y0), cons(x0, x1))) → A__SEL(a__from(mark(y0)), cons(mark(x0), x1))
MARK(s(X)) → MARK(X)
MARK(sel(s(y0), sel(x0, x1))) → A__SEL(s(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(sel(first(y0, y1), sel(x0, x1))) → A__SEL(a__first(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
MARK(sel(sel(y0, y1), first(x0, x1))) → A__SEL(a__sel(mark(y0), mark(y1)), a__first(mark(x0), mark(x1)))
MARK(first(s(y0), cons(x0, x1))) → A__FIRST(s(mark(y0)), cons(mark(x0), x1))
MARK(sel(0, from(x0))) → A__SEL(0, a__from(mark(x0)))
A__SEL(0, cons(X, Z)) → MARK(X)
A__FIRST(s(X), cons(Y, Z)) → MARK(Y)
MARK(first(sel(y0, y1), cons(x0, x1))) → A__FIRST(a__sel(mark(y0), mark(y1)), cons(mark(x0), x1))
MARK(sel(s(y0), s(x0))) → A__SEL(s(mark(y0)), s(mark(x0)))
MARK(sel(s(y0), nil)) → A__SEL(s(mark(y0)), nil)
A__SEL(s(X), cons(Y, Z)) → MARK(X)
MARK(first(X1, X2)) → MARK(X1)
MARK(first(first(y0, y1), cons(x0, x1))) → A__FIRST(a__first(mark(y0), mark(y1)), cons(mark(x0), x1))
MARK(from(X)) → MARK(X)
MARK(sel(s(y0), first(x0, x1))) → A__SEL(s(mark(y0)), a__first(mark(x0), mark(x1)))
A__SEL(s(s(x0)), cons(y1, y2)) → A__SEL(s(mark(x0)), mark(y2))
MARK(from(X)) → A__FROM(mark(X))
MARK(sel(from(y0), from(x0))) → A__SEL(a__from(mark(y0)), a__from(mark(x0)))
MARK(first(s(y0), first(x0, x1))) → A__FIRST(s(mark(y0)), a__first(mark(x0), mark(x1)))
MARK(first(s(y0), sel(x0, x1))) → A__FIRST(s(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(sel(s(y0), 0)) → A__SEL(s(mark(y0)), 0)
MARK(sel(0, first(x0, x1))) → A__SEL(0, a__first(mark(x0), mark(x1)))
MARK(sel(0, sel(x0, x1))) → A__SEL(0, a__sel(mark(x0), mark(x1)))
MARK(sel(X1, X2)) → MARK(X2)
MARK(sel(first(y0, y1), from(x0))) → A__SEL(a__first(mark(y0), mark(y1)), a__from(mark(x0)))
MARK(sel(from(y0), first(x0, x1))) → A__SEL(a__from(mark(y0)), a__first(mark(x0), mark(x1)))
a__from(X) → cons(mark(X), from(s(X)))
a__first(0, Z) → nil
a__first(s(X), cons(Y, Z)) → cons(mark(Y), first(X, Z))
a__sel(0, cons(X, Z)) → mark(X)
a__sel(s(X), cons(Y, Z)) → a__sel(mark(X), mark(Z))
mark(from(X)) → a__from(mark(X))
mark(first(X1, X2)) → a__first(mark(X1), mark(X2))
mark(sel(X1, X2)) → a__sel(mark(X1), mark(X2))
mark(cons(X1, X2)) → cons(mark(X1), X2)
mark(s(X)) → s(mark(X))
mark(0) → 0
mark(nil) → nil
a__from(X) → from(X)
a__first(X1, X2) → first(X1, X2)
a__sel(X1, X2) → sel(X1, X2)
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
MARK(sel(sel(y0, y1), sel(x0, x1))) → A__SEL(a__sel(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
MARK(sel(s(y0), cons(x0, x1))) → A__SEL(s(mark(y0)), cons(mark(x0), x1))
MARK(sel(first(y0, y1), first(x0, x1))) → A__SEL(a__first(mark(y0), mark(y1)), a__first(mark(x0), mark(x1)))
MARK(first(first(y0, y1), from(x0))) → A__FIRST(a__first(mark(y0), mark(y1)), a__from(mark(x0)))
MARK(first(from(y0), first(x0, x1))) → A__FIRST(a__from(mark(y0)), a__first(mark(x0), mark(x1)))
MARK(cons(X1, X2)) → MARK(X1)
MARK(first(from(y0), sel(x0, x1))) → A__FIRST(a__from(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(first(sel(y0, y1), from(x0))) → A__FIRST(a__sel(mark(y0), mark(y1)), a__from(mark(x0)))
A__SEL(s(X), cons(Y, Z)) → MARK(Z)
A__SEL(s(sel(x0, x1)), cons(y1, y2)) → A__SEL(a__sel(mark(x0), mark(x1)), mark(y2))
MARK(first(from(y0), cons(x0, x1))) → A__FIRST(a__from(mark(y0)), cons(mark(x0), x1))
MARK(sel(s(y0), from(x0))) → A__SEL(s(mark(y0)), a__from(mark(x0)))
MARK(first(sel(y0, y1), sel(x0, x1))) → A__FIRST(a__sel(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
A__SEL(s(from(x0)), cons(y1, y2)) → A__SEL(a__from(mark(x0)), mark(y2))
A__SEL(s(first(x0, x1)), cons(y1, y2)) → A__SEL(a__first(mark(x0), mark(x1)), mark(y2))
MARK(sel(X1, X2)) → MARK(X1)
MARK(sel(sel(y0, y1), cons(x0, x1))) → A__SEL(a__sel(mark(y0), mark(y1)), cons(mark(x0), x1))
MARK(first(from(y0), from(x0))) → A__FIRST(a__from(mark(y0)), a__from(mark(x0)))
MARK(first(X1, X2)) → MARK(X2)
MARK(first(s(y0), from(x0))) → A__FIRST(s(mark(y0)), a__from(mark(x0)))
A__FROM(X) → MARK(X)
A__SEL(s(0), cons(y1, y2)) → A__SEL(0, mark(y2))
MARK(first(first(y0, y1), first(x0, x1))) → A__FIRST(a__first(mark(y0), mark(y1)), a__first(mark(x0), mark(x1)))
MARK(sel(sel(y0, y1), from(x0))) → A__SEL(a__sel(mark(y0), mark(y1)), a__from(mark(x0)))
MARK(sel(from(y0), sel(x0, x1))) → A__SEL(a__from(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(sel(0, cons(x0, x1))) → A__SEL(0, cons(mark(x0), x1))
MARK(first(sel(y0, y1), first(x0, x1))) → A__FIRST(a__sel(mark(y0), mark(y1)), a__first(mark(x0), mark(x1)))
MARK(first(first(y0, y1), sel(x0, x1))) → A__FIRST(a__first(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
MARK(sel(first(y0, y1), cons(x0, x1))) → A__SEL(a__first(mark(y0), mark(y1)), cons(mark(x0), x1))
MARK(sel(from(y0), cons(x0, x1))) → A__SEL(a__from(mark(y0)), cons(mark(x0), x1))
MARK(s(X)) → MARK(X)
MARK(sel(s(y0), sel(x0, x1))) → A__SEL(s(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(sel(first(y0, y1), sel(x0, x1))) → A__SEL(a__first(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
MARK(sel(sel(y0, y1), first(x0, x1))) → A__SEL(a__sel(mark(y0), mark(y1)), a__first(mark(x0), mark(x1)))
MARK(first(s(y0), cons(x0, x1))) → A__FIRST(s(mark(y0)), cons(mark(x0), x1))
A__SEL(0, cons(X, Z)) → MARK(X)
MARK(sel(0, from(x0))) → A__SEL(0, a__from(mark(x0)))
A__FIRST(s(X), cons(Y, Z)) → MARK(Y)
MARK(first(sel(y0, y1), cons(x0, x1))) → A__FIRST(a__sel(mark(y0), mark(y1)), cons(mark(x0), x1))
A__SEL(s(X), cons(Y, Z)) → MARK(X)
MARK(first(X1, X2)) → MARK(X1)
MARK(first(first(y0, y1), cons(x0, x1))) → A__FIRST(a__first(mark(y0), mark(y1)), cons(mark(x0), x1))
MARK(from(X)) → MARK(X)
MARK(sel(s(y0), first(x0, x1))) → A__SEL(s(mark(y0)), a__first(mark(x0), mark(x1)))
MARK(from(X)) → A__FROM(mark(X))
A__SEL(s(s(x0)), cons(y1, y2)) → A__SEL(s(mark(x0)), mark(y2))
MARK(first(s(y0), first(x0, x1))) → A__FIRST(s(mark(y0)), a__first(mark(x0), mark(x1)))
MARK(sel(from(y0), from(x0))) → A__SEL(a__from(mark(y0)), a__from(mark(x0)))
MARK(first(s(y0), sel(x0, x1))) → A__FIRST(s(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(sel(0, first(x0, x1))) → A__SEL(0, a__first(mark(x0), mark(x1)))
MARK(sel(0, sel(x0, x1))) → A__SEL(0, a__sel(mark(x0), mark(x1)))
MARK(sel(X1, X2)) → MARK(X2)
MARK(sel(from(y0), first(x0, x1))) → A__SEL(a__from(mark(y0)), a__first(mark(x0), mark(x1)))
MARK(sel(first(y0, y1), from(x0))) → A__SEL(a__first(mark(y0), mark(y1)), a__from(mark(x0)))
a__from(X) → cons(mark(X), from(s(X)))
a__first(0, Z) → nil
a__first(s(X), cons(Y, Z)) → cons(mark(Y), first(X, Z))
a__sel(0, cons(X, Z)) → mark(X)
a__sel(s(X), cons(Y, Z)) → a__sel(mark(X), mark(Z))
mark(from(X)) → a__from(mark(X))
mark(first(X1, X2)) → a__first(mark(X1), mark(X2))
mark(sel(X1, X2)) → a__sel(mark(X1), mark(X2))
mark(cons(X1, X2)) → cons(mark(X1), X2)
mark(s(X)) → s(mark(X))
mark(0) → 0
mark(nil) → nil
a__from(X) → from(X)
a__first(X1, X2) → first(X1, X2)
a__sel(X1, X2) → sel(X1, X2)
A__SEL(s(from(y0)), cons(y1, cons(x0, x1))) → A__SEL(a__from(mark(y0)), cons(mark(x0), x1))
A__SEL(s(from(y0)), cons(y1, nil)) → A__SEL(a__from(mark(y0)), nil)
A__SEL(s(from(y0)), cons(y1, sel(x0, x1))) → A__SEL(a__from(mark(y0)), a__sel(mark(x0), mark(x1)))
A__SEL(s(from(y0)), cons(y1, from(x0))) → A__SEL(a__from(mark(y0)), a__from(mark(x0)))
A__SEL(s(from(y0)), cons(y1, 0)) → A__SEL(a__from(mark(y0)), 0)
A__SEL(s(from(y0)), cons(y1, first(x0, x1))) → A__SEL(a__from(mark(y0)), a__first(mark(x0), mark(x1)))
A__SEL(s(from(y0)), cons(y1, s(x0))) → A__SEL(a__from(mark(y0)), s(mark(x0)))
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
MARK(sel(sel(y0, y1), sel(x0, x1))) → A__SEL(a__sel(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
A__SEL(s(from(y0)), cons(y1, nil)) → A__SEL(a__from(mark(y0)), nil)
MARK(sel(s(y0), cons(x0, x1))) → A__SEL(s(mark(y0)), cons(mark(x0), x1))
MARK(sel(first(y0, y1), first(x0, x1))) → A__SEL(a__first(mark(y0), mark(y1)), a__first(mark(x0), mark(x1)))
MARK(cons(X1, X2)) → MARK(X1)
MARK(first(from(y0), first(x0, x1))) → A__FIRST(a__from(mark(y0)), a__first(mark(x0), mark(x1)))
MARK(first(first(y0, y1), from(x0))) → A__FIRST(a__first(mark(y0), mark(y1)), a__from(mark(x0)))
MARK(first(sel(y0, y1), from(x0))) → A__FIRST(a__sel(mark(y0), mark(y1)), a__from(mark(x0)))
MARK(first(from(y0), sel(x0, x1))) → A__FIRST(a__from(mark(y0)), a__sel(mark(x0), mark(x1)))
A__SEL(s(sel(x0, x1)), cons(y1, y2)) → A__SEL(a__sel(mark(x0), mark(x1)), mark(y2))
A__SEL(s(X), cons(Y, Z)) → MARK(Z)
MARK(first(from(y0), cons(x0, x1))) → A__FIRST(a__from(mark(y0)), cons(mark(x0), x1))
MARK(sel(s(y0), from(x0))) → A__SEL(s(mark(y0)), a__from(mark(x0)))
MARK(first(sel(y0, y1), sel(x0, x1))) → A__FIRST(a__sel(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
A__SEL(s(first(x0, x1)), cons(y1, y2)) → A__SEL(a__first(mark(x0), mark(x1)), mark(y2))
MARK(sel(X1, X2)) → MARK(X1)
MARK(sel(sel(y0, y1), cons(x0, x1))) → A__SEL(a__sel(mark(y0), mark(y1)), cons(mark(x0), x1))
MARK(first(from(y0), from(x0))) → A__FIRST(a__from(mark(y0)), a__from(mark(x0)))
A__SEL(s(from(y0)), cons(y1, first(x0, x1))) → A__SEL(a__from(mark(y0)), a__first(mark(x0), mark(x1)))
MARK(first(X1, X2)) → MARK(X2)
A__FROM(X) → MARK(X)
MARK(first(s(y0), from(x0))) → A__FIRST(s(mark(y0)), a__from(mark(x0)))
A__SEL(s(0), cons(y1, y2)) → A__SEL(0, mark(y2))
MARK(first(first(y0, y1), first(x0, x1))) → A__FIRST(a__first(mark(y0), mark(y1)), a__first(mark(x0), mark(x1)))
A__SEL(s(from(y0)), cons(y1, sel(x0, x1))) → A__SEL(a__from(mark(y0)), a__sel(mark(x0), mark(x1)))
A__SEL(s(from(y0)), cons(y1, from(x0))) → A__SEL(a__from(mark(y0)), a__from(mark(x0)))
MARK(sel(0, cons(x0, x1))) → A__SEL(0, cons(mark(x0), x1))
MARK(sel(from(y0), sel(x0, x1))) → A__SEL(a__from(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(sel(sel(y0, y1), from(x0))) → A__SEL(a__sel(mark(y0), mark(y1)), a__from(mark(x0)))
A__SEL(s(from(y0)), cons(y1, 0)) → A__SEL(a__from(mark(y0)), 0)
MARK(first(first(y0, y1), sel(x0, x1))) → A__FIRST(a__first(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
MARK(first(sel(y0, y1), first(x0, x1))) → A__FIRST(a__sel(mark(y0), mark(y1)), a__first(mark(x0), mark(x1)))
MARK(sel(first(y0, y1), cons(x0, x1))) → A__SEL(a__first(mark(y0), mark(y1)), cons(mark(x0), x1))
MARK(sel(from(y0), cons(x0, x1))) → A__SEL(a__from(mark(y0)), cons(mark(x0), x1))
MARK(s(X)) → MARK(X)
MARK(sel(sel(y0, y1), first(x0, x1))) → A__SEL(a__sel(mark(y0), mark(y1)), a__first(mark(x0), mark(x1)))
MARK(sel(first(y0, y1), sel(x0, x1))) → A__SEL(a__first(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
MARK(sel(s(y0), sel(x0, x1))) → A__SEL(s(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(first(s(y0), cons(x0, x1))) → A__FIRST(s(mark(y0)), cons(mark(x0), x1))
MARK(sel(0, from(x0))) → A__SEL(0, a__from(mark(x0)))
A__SEL(0, cons(X, Z)) → MARK(X)
A__SEL(s(from(y0)), cons(y1, cons(x0, x1))) → A__SEL(a__from(mark(y0)), cons(mark(x0), x1))
A__FIRST(s(X), cons(Y, Z)) → MARK(Y)
MARK(first(sel(y0, y1), cons(x0, x1))) → A__FIRST(a__sel(mark(y0), mark(y1)), cons(mark(x0), x1))
A__SEL(s(from(y0)), cons(y1, s(x0))) → A__SEL(a__from(mark(y0)), s(mark(x0)))
A__SEL(s(X), cons(Y, Z)) → MARK(X)
MARK(first(X1, X2)) → MARK(X1)
MARK(first(first(y0, y1), cons(x0, x1))) → A__FIRST(a__first(mark(y0), mark(y1)), cons(mark(x0), x1))
MARK(from(X)) → MARK(X)
A__SEL(s(s(x0)), cons(y1, y2)) → A__SEL(s(mark(x0)), mark(y2))
MARK(from(X)) → A__FROM(mark(X))
MARK(sel(s(y0), first(x0, x1))) → A__SEL(s(mark(y0)), a__first(mark(x0), mark(x1)))
MARK(sel(from(y0), from(x0))) → A__SEL(a__from(mark(y0)), a__from(mark(x0)))
MARK(first(s(y0), first(x0, x1))) → A__FIRST(s(mark(y0)), a__first(mark(x0), mark(x1)))
MARK(first(s(y0), sel(x0, x1))) → A__FIRST(s(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(sel(0, first(x0, x1))) → A__SEL(0, a__first(mark(x0), mark(x1)))
MARK(sel(0, sel(x0, x1))) → A__SEL(0, a__sel(mark(x0), mark(x1)))
MARK(sel(X1, X2)) → MARK(X2)
MARK(sel(first(y0, y1), from(x0))) → A__SEL(a__first(mark(y0), mark(y1)), a__from(mark(x0)))
MARK(sel(from(y0), first(x0, x1))) → A__SEL(a__from(mark(y0)), a__first(mark(x0), mark(x1)))
a__from(X) → cons(mark(X), from(s(X)))
a__first(0, Z) → nil
a__first(s(X), cons(Y, Z)) → cons(mark(Y), first(X, Z))
a__sel(0, cons(X, Z)) → mark(X)
a__sel(s(X), cons(Y, Z)) → a__sel(mark(X), mark(Z))
mark(from(X)) → a__from(mark(X))
mark(first(X1, X2)) → a__first(mark(X1), mark(X2))
mark(sel(X1, X2)) → a__sel(mark(X1), mark(X2))
mark(cons(X1, X2)) → cons(mark(X1), X2)
mark(s(X)) → s(mark(X))
mark(0) → 0
mark(nil) → nil
a__from(X) → from(X)
a__first(X1, X2) → first(X1, X2)
a__sel(X1, X2) → sel(X1, X2)
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
MARK(sel(sel(y0, y1), sel(x0, x1))) → A__SEL(a__sel(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
MARK(sel(s(y0), cons(x0, x1))) → A__SEL(s(mark(y0)), cons(mark(x0), x1))
MARK(sel(first(y0, y1), first(x0, x1))) → A__SEL(a__first(mark(y0), mark(y1)), a__first(mark(x0), mark(x1)))
MARK(first(first(y0, y1), from(x0))) → A__FIRST(a__first(mark(y0), mark(y1)), a__from(mark(x0)))
MARK(first(from(y0), first(x0, x1))) → A__FIRST(a__from(mark(y0)), a__first(mark(x0), mark(x1)))
MARK(cons(X1, X2)) → MARK(X1)
MARK(first(from(y0), sel(x0, x1))) → A__FIRST(a__from(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(first(sel(y0, y1), from(x0))) → A__FIRST(a__sel(mark(y0), mark(y1)), a__from(mark(x0)))
A__SEL(s(X), cons(Y, Z)) → MARK(Z)
A__SEL(s(sel(x0, x1)), cons(y1, y2)) → A__SEL(a__sel(mark(x0), mark(x1)), mark(y2))
MARK(first(from(y0), cons(x0, x1))) → A__FIRST(a__from(mark(y0)), cons(mark(x0), x1))
MARK(sel(s(y0), from(x0))) → A__SEL(s(mark(y0)), a__from(mark(x0)))
MARK(first(sel(y0, y1), sel(x0, x1))) → A__FIRST(a__sel(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
A__SEL(s(first(x0, x1)), cons(y1, y2)) → A__SEL(a__first(mark(x0), mark(x1)), mark(y2))
MARK(sel(X1, X2)) → MARK(X1)
MARK(sel(sel(y0, y1), cons(x0, x1))) → A__SEL(a__sel(mark(y0), mark(y1)), cons(mark(x0), x1))
MARK(first(from(y0), from(x0))) → A__FIRST(a__from(mark(y0)), a__from(mark(x0)))
MARK(first(X1, X2)) → MARK(X2)
A__SEL(s(from(y0)), cons(y1, first(x0, x1))) → A__SEL(a__from(mark(y0)), a__first(mark(x0), mark(x1)))
MARK(first(s(y0), from(x0))) → A__FIRST(s(mark(y0)), a__from(mark(x0)))
A__FROM(X) → MARK(X)
A__SEL(s(0), cons(y1, y2)) → A__SEL(0, mark(y2))
MARK(first(first(y0, y1), first(x0, x1))) → A__FIRST(a__first(mark(y0), mark(y1)), a__first(mark(x0), mark(x1)))
A__SEL(s(from(y0)), cons(y1, sel(x0, x1))) → A__SEL(a__from(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(sel(sel(y0, y1), from(x0))) → A__SEL(a__sel(mark(y0), mark(y1)), a__from(mark(x0)))
MARK(sel(from(y0), sel(x0, x1))) → A__SEL(a__from(mark(y0)), a__sel(mark(x0), mark(x1)))
A__SEL(s(from(y0)), cons(y1, from(x0))) → A__SEL(a__from(mark(y0)), a__from(mark(x0)))
MARK(sel(0, cons(x0, x1))) → A__SEL(0, cons(mark(x0), x1))
MARK(first(sel(y0, y1), first(x0, x1))) → A__FIRST(a__sel(mark(y0), mark(y1)), a__first(mark(x0), mark(x1)))
MARK(first(first(y0, y1), sel(x0, x1))) → A__FIRST(a__first(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
MARK(sel(first(y0, y1), cons(x0, x1))) → A__SEL(a__first(mark(y0), mark(y1)), cons(mark(x0), x1))
MARK(sel(from(y0), cons(x0, x1))) → A__SEL(a__from(mark(y0)), cons(mark(x0), x1))
MARK(s(X)) → MARK(X)
MARK(sel(s(y0), sel(x0, x1))) → A__SEL(s(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(sel(sel(y0, y1), first(x0, x1))) → A__SEL(a__sel(mark(y0), mark(y1)), a__first(mark(x0), mark(x1)))
MARK(sel(first(y0, y1), sel(x0, x1))) → A__SEL(a__first(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
MARK(first(s(y0), cons(x0, x1))) → A__FIRST(s(mark(y0)), cons(mark(x0), x1))
A__SEL(0, cons(X, Z)) → MARK(X)
MARK(sel(0, from(x0))) → A__SEL(0, a__from(mark(x0)))
A__FIRST(s(X), cons(Y, Z)) → MARK(Y)
A__SEL(s(from(y0)), cons(y1, cons(x0, x1))) → A__SEL(a__from(mark(y0)), cons(mark(x0), x1))
MARK(first(sel(y0, y1), cons(x0, x1))) → A__FIRST(a__sel(mark(y0), mark(y1)), cons(mark(x0), x1))
A__SEL(s(X), cons(Y, Z)) → MARK(X)
MARK(first(X1, X2)) → MARK(X1)
MARK(first(first(y0, y1), cons(x0, x1))) → A__FIRST(a__first(mark(y0), mark(y1)), cons(mark(x0), x1))
MARK(from(X)) → MARK(X)
MARK(sel(s(y0), first(x0, x1))) → A__SEL(s(mark(y0)), a__first(mark(x0), mark(x1)))
MARK(from(X)) → A__FROM(mark(X))
A__SEL(s(s(x0)), cons(y1, y2)) → A__SEL(s(mark(x0)), mark(y2))
MARK(first(s(y0), first(x0, x1))) → A__FIRST(s(mark(y0)), a__first(mark(x0), mark(x1)))
MARK(sel(from(y0), from(x0))) → A__SEL(a__from(mark(y0)), a__from(mark(x0)))
MARK(first(s(y0), sel(x0, x1))) → A__FIRST(s(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(sel(0, first(x0, x1))) → A__SEL(0, a__first(mark(x0), mark(x1)))
MARK(sel(0, sel(x0, x1))) → A__SEL(0, a__sel(mark(x0), mark(x1)))
MARK(sel(X1, X2)) → MARK(X2)
MARK(sel(from(y0), first(x0, x1))) → A__SEL(a__from(mark(y0)), a__first(mark(x0), mark(x1)))
MARK(sel(first(y0, y1), from(x0))) → A__SEL(a__first(mark(y0), mark(y1)), a__from(mark(x0)))
a__from(X) → cons(mark(X), from(s(X)))
a__first(0, Z) → nil
a__first(s(X), cons(Y, Z)) → cons(mark(Y), first(X, Z))
a__sel(0, cons(X, Z)) → mark(X)
a__sel(s(X), cons(Y, Z)) → a__sel(mark(X), mark(Z))
mark(from(X)) → a__from(mark(X))
mark(first(X1, X2)) → a__first(mark(X1), mark(X2))
mark(sel(X1, X2)) → a__sel(mark(X1), mark(X2))
mark(cons(X1, X2)) → cons(mark(X1), X2)
mark(s(X)) → s(mark(X))
mark(0) → 0
mark(nil) → nil
a__from(X) → from(X)
a__first(X1, X2) → first(X1, X2)
a__sel(X1, X2) → sel(X1, X2)
A__SEL(s(first(y0, y1)), cons(y2, nil)) → A__SEL(a__first(mark(y0), mark(y1)), nil)
A__SEL(s(first(y0, y1)), cons(y2, 0)) → A__SEL(a__first(mark(y0), mark(y1)), 0)
A__SEL(s(first(y0, y1)), cons(y2, cons(x0, x1))) → A__SEL(a__first(mark(y0), mark(y1)), cons(mark(x0), x1))
A__SEL(s(first(y0, y1)), cons(y2, sel(x0, x1))) → A__SEL(a__first(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
A__SEL(s(first(y0, y1)), cons(y2, from(x0))) → A__SEL(a__first(mark(y0), mark(y1)), a__from(mark(x0)))
A__SEL(s(first(y0, y1)), cons(y2, s(x0))) → A__SEL(a__first(mark(y0), mark(y1)), s(mark(x0)))
A__SEL(s(first(y0, y1)), cons(y2, first(x0, x1))) → A__SEL(a__first(mark(y0), mark(y1)), a__first(mark(x0), mark(x1)))
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
MARK(sel(sel(y0, y1), sel(x0, x1))) → A__SEL(a__sel(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
MARK(sel(s(y0), cons(x0, x1))) → A__SEL(s(mark(y0)), cons(mark(x0), x1))
MARK(sel(first(y0, y1), first(x0, x1))) → A__SEL(a__first(mark(y0), mark(y1)), a__first(mark(x0), mark(x1)))
MARK(cons(X1, X2)) → MARK(X1)
MARK(first(from(y0), first(x0, x1))) → A__FIRST(a__from(mark(y0)), a__first(mark(x0), mark(x1)))
MARK(first(first(y0, y1), from(x0))) → A__FIRST(a__first(mark(y0), mark(y1)), a__from(mark(x0)))
MARK(first(sel(y0, y1), from(x0))) → A__FIRST(a__sel(mark(y0), mark(y1)), a__from(mark(x0)))
MARK(first(from(y0), sel(x0, x1))) → A__FIRST(a__from(mark(y0)), a__sel(mark(x0), mark(x1)))
A__SEL(s(first(y0, y1)), cons(y2, 0)) → A__SEL(a__first(mark(y0), mark(y1)), 0)
A__SEL(s(sel(x0, x1)), cons(y1, y2)) → A__SEL(a__sel(mark(x0), mark(x1)), mark(y2))
A__SEL(s(X), cons(Y, Z)) → MARK(Z)
MARK(first(from(y0), cons(x0, x1))) → A__FIRST(a__from(mark(y0)), cons(mark(x0), x1))
MARK(sel(s(y0), from(x0))) → A__SEL(s(mark(y0)), a__from(mark(x0)))
MARK(first(sel(y0, y1), sel(x0, x1))) → A__FIRST(a__sel(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
MARK(sel(X1, X2)) → MARK(X1)
MARK(sel(sel(y0, y1), cons(x0, x1))) → A__SEL(a__sel(mark(y0), mark(y1)), cons(mark(x0), x1))
MARK(first(from(y0), from(x0))) → A__FIRST(a__from(mark(y0)), a__from(mark(x0)))
A__SEL(s(from(y0)), cons(y1, first(x0, x1))) → A__SEL(a__from(mark(y0)), a__first(mark(x0), mark(x1)))
MARK(first(X1, X2)) → MARK(X2)
A__FROM(X) → MARK(X)
MARK(first(s(y0), from(x0))) → A__FIRST(s(mark(y0)), a__from(mark(x0)))
A__SEL(s(first(y0, y1)), cons(y2, cons(x0, x1))) → A__SEL(a__first(mark(y0), mark(y1)), cons(mark(x0), x1))
A__SEL(s(0), cons(y1, y2)) → A__SEL(0, mark(y2))
MARK(first(first(y0, y1), first(x0, x1))) → A__FIRST(a__first(mark(y0), mark(y1)), a__first(mark(x0), mark(x1)))
A__SEL(s(from(y0)), cons(y1, sel(x0, x1))) → A__SEL(a__from(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(sel(0, cons(x0, x1))) → A__SEL(0, cons(mark(x0), x1))
A__SEL(s(from(y0)), cons(y1, from(x0))) → A__SEL(a__from(mark(y0)), a__from(mark(x0)))
MARK(sel(from(y0), sel(x0, x1))) → A__SEL(a__from(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(sel(sel(y0, y1), from(x0))) → A__SEL(a__sel(mark(y0), mark(y1)), a__from(mark(x0)))
A__SEL(s(first(y0, y1)), cons(y2, from(x0))) → A__SEL(a__first(mark(y0), mark(y1)), a__from(mark(x0)))
MARK(first(first(y0, y1), sel(x0, x1))) → A__FIRST(a__first(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
MARK(first(sel(y0, y1), first(x0, x1))) → A__FIRST(a__sel(mark(y0), mark(y1)), a__first(mark(x0), mark(x1)))
A__SEL(s(first(y0, y1)), cons(y2, s(x0))) → A__SEL(a__first(mark(y0), mark(y1)), s(mark(x0)))
MARK(sel(first(y0, y1), cons(x0, x1))) → A__SEL(a__first(mark(y0), mark(y1)), cons(mark(x0), x1))
MARK(sel(from(y0), cons(x0, x1))) → A__SEL(a__from(mark(y0)), cons(mark(x0), x1))
MARK(s(X)) → MARK(X)
MARK(sel(first(y0, y1), sel(x0, x1))) → A__SEL(a__first(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
MARK(sel(sel(y0, y1), first(x0, x1))) → A__SEL(a__sel(mark(y0), mark(y1)), a__first(mark(x0), mark(x1)))
MARK(sel(s(y0), sel(x0, x1))) → A__SEL(s(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(first(s(y0), cons(x0, x1))) → A__FIRST(s(mark(y0)), cons(mark(x0), x1))
MARK(sel(0, from(x0))) → A__SEL(0, a__from(mark(x0)))
A__SEL(0, cons(X, Z)) → MARK(X)
A__SEL(s(from(y0)), cons(y1, cons(x0, x1))) → A__SEL(a__from(mark(y0)), cons(mark(x0), x1))
A__FIRST(s(X), cons(Y, Z)) → MARK(Y)
MARK(first(sel(y0, y1), cons(x0, x1))) → A__FIRST(a__sel(mark(y0), mark(y1)), cons(mark(x0), x1))
A__SEL(s(X), cons(Y, Z)) → MARK(X)
MARK(first(X1, X2)) → MARK(X1)
A__SEL(s(first(y0, y1)), cons(y2, nil)) → A__SEL(a__first(mark(y0), mark(y1)), nil)
MARK(first(first(y0, y1), cons(x0, x1))) → A__FIRST(a__first(mark(y0), mark(y1)), cons(mark(x0), x1))
MARK(from(X)) → MARK(X)
A__SEL(s(s(x0)), cons(y1, y2)) → A__SEL(s(mark(x0)), mark(y2))
MARK(from(X)) → A__FROM(mark(X))
MARK(sel(s(y0), first(x0, x1))) → A__SEL(s(mark(y0)), a__first(mark(x0), mark(x1)))
MARK(sel(from(y0), from(x0))) → A__SEL(a__from(mark(y0)), a__from(mark(x0)))
MARK(first(s(y0), first(x0, x1))) → A__FIRST(s(mark(y0)), a__first(mark(x0), mark(x1)))
MARK(first(s(y0), sel(x0, x1))) → A__FIRST(s(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(sel(0, first(x0, x1))) → A__SEL(0, a__first(mark(x0), mark(x1)))
MARK(sel(0, sel(x0, x1))) → A__SEL(0, a__sel(mark(x0), mark(x1)))
A__SEL(s(first(y0, y1)), cons(y2, sel(x0, x1))) → A__SEL(a__first(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
MARK(sel(X1, X2)) → MARK(X2)
A__SEL(s(first(y0, y1)), cons(y2, first(x0, x1))) → A__SEL(a__first(mark(y0), mark(y1)), a__first(mark(x0), mark(x1)))
MARK(sel(first(y0, y1), from(x0))) → A__SEL(a__first(mark(y0), mark(y1)), a__from(mark(x0)))
MARK(sel(from(y0), first(x0, x1))) → A__SEL(a__from(mark(y0)), a__first(mark(x0), mark(x1)))
a__from(X) → cons(mark(X), from(s(X)))
a__first(0, Z) → nil
a__first(s(X), cons(Y, Z)) → cons(mark(Y), first(X, Z))
a__sel(0, cons(X, Z)) → mark(X)
a__sel(s(X), cons(Y, Z)) → a__sel(mark(X), mark(Z))
mark(from(X)) → a__from(mark(X))
mark(first(X1, X2)) → a__first(mark(X1), mark(X2))
mark(sel(X1, X2)) → a__sel(mark(X1), mark(X2))
mark(cons(X1, X2)) → cons(mark(X1), X2)
mark(s(X)) → s(mark(X))
mark(0) → 0
mark(nil) → nil
a__from(X) → from(X)
a__first(X1, X2) → first(X1, X2)
a__sel(X1, X2) → sel(X1, X2)
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
MARK(sel(sel(y0, y1), sel(x0, x1))) → A__SEL(a__sel(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
MARK(sel(s(y0), cons(x0, x1))) → A__SEL(s(mark(y0)), cons(mark(x0), x1))
MARK(sel(first(y0, y1), first(x0, x1))) → A__SEL(a__first(mark(y0), mark(y1)), a__first(mark(x0), mark(x1)))
MARK(first(first(y0, y1), from(x0))) → A__FIRST(a__first(mark(y0), mark(y1)), a__from(mark(x0)))
MARK(first(from(y0), first(x0, x1))) → A__FIRST(a__from(mark(y0)), a__first(mark(x0), mark(x1)))
MARK(cons(X1, X2)) → MARK(X1)
MARK(first(from(y0), sel(x0, x1))) → A__FIRST(a__from(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(first(sel(y0, y1), from(x0))) → A__FIRST(a__sel(mark(y0), mark(y1)), a__from(mark(x0)))
A__SEL(s(X), cons(Y, Z)) → MARK(Z)
A__SEL(s(sel(x0, x1)), cons(y1, y2)) → A__SEL(a__sel(mark(x0), mark(x1)), mark(y2))
MARK(first(from(y0), cons(x0, x1))) → A__FIRST(a__from(mark(y0)), cons(mark(x0), x1))
MARK(sel(s(y0), from(x0))) → A__SEL(s(mark(y0)), a__from(mark(x0)))
MARK(first(sel(y0, y1), sel(x0, x1))) → A__FIRST(a__sel(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
MARK(sel(X1, X2)) → MARK(X1)
MARK(sel(sel(y0, y1), cons(x0, x1))) → A__SEL(a__sel(mark(y0), mark(y1)), cons(mark(x0), x1))
MARK(first(from(y0), from(x0))) → A__FIRST(a__from(mark(y0)), a__from(mark(x0)))
MARK(first(X1, X2)) → MARK(X2)
A__SEL(s(from(y0)), cons(y1, first(x0, x1))) → A__SEL(a__from(mark(y0)), a__first(mark(x0), mark(x1)))
MARK(first(s(y0), from(x0))) → A__FIRST(s(mark(y0)), a__from(mark(x0)))
A__FROM(X) → MARK(X)
A__SEL(s(first(y0, y1)), cons(y2, cons(x0, x1))) → A__SEL(a__first(mark(y0), mark(y1)), cons(mark(x0), x1))
A__SEL(s(0), cons(y1, y2)) → A__SEL(0, mark(y2))
MARK(first(first(y0, y1), first(x0, x1))) → A__FIRST(a__first(mark(y0), mark(y1)), a__first(mark(x0), mark(x1)))
A__SEL(s(from(y0)), cons(y1, sel(x0, x1))) → A__SEL(a__from(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(sel(sel(y0, y1), from(x0))) → A__SEL(a__sel(mark(y0), mark(y1)), a__from(mark(x0)))
MARK(sel(from(y0), sel(x0, x1))) → A__SEL(a__from(mark(y0)), a__sel(mark(x0), mark(x1)))
A__SEL(s(from(y0)), cons(y1, from(x0))) → A__SEL(a__from(mark(y0)), a__from(mark(x0)))
MARK(sel(0, cons(x0, x1))) → A__SEL(0, cons(mark(x0), x1))
A__SEL(s(first(y0, y1)), cons(y2, from(x0))) → A__SEL(a__first(mark(y0), mark(y1)), a__from(mark(x0)))
MARK(first(sel(y0, y1), first(x0, x1))) → A__FIRST(a__sel(mark(y0), mark(y1)), a__first(mark(x0), mark(x1)))
MARK(first(first(y0, y1), sel(x0, x1))) → A__FIRST(a__first(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
MARK(sel(first(y0, y1), cons(x0, x1))) → A__SEL(a__first(mark(y0), mark(y1)), cons(mark(x0), x1))
MARK(sel(from(y0), cons(x0, x1))) → A__SEL(a__from(mark(y0)), cons(mark(x0), x1))
MARK(s(X)) → MARK(X)
MARK(sel(s(y0), sel(x0, x1))) → A__SEL(s(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(sel(sel(y0, y1), first(x0, x1))) → A__SEL(a__sel(mark(y0), mark(y1)), a__first(mark(x0), mark(x1)))
MARK(sel(first(y0, y1), sel(x0, x1))) → A__SEL(a__first(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
MARK(first(s(y0), cons(x0, x1))) → A__FIRST(s(mark(y0)), cons(mark(x0), x1))
A__SEL(0, cons(X, Z)) → MARK(X)
MARK(sel(0, from(x0))) → A__SEL(0, a__from(mark(x0)))
A__FIRST(s(X), cons(Y, Z)) → MARK(Y)
A__SEL(s(from(y0)), cons(y1, cons(x0, x1))) → A__SEL(a__from(mark(y0)), cons(mark(x0), x1))
MARK(first(sel(y0, y1), cons(x0, x1))) → A__FIRST(a__sel(mark(y0), mark(y1)), cons(mark(x0), x1))
A__SEL(s(X), cons(Y, Z)) → MARK(X)
MARK(first(X1, X2)) → MARK(X1)
MARK(first(first(y0, y1), cons(x0, x1))) → A__FIRST(a__first(mark(y0), mark(y1)), cons(mark(x0), x1))
MARK(from(X)) → MARK(X)
MARK(sel(s(y0), first(x0, x1))) → A__SEL(s(mark(y0)), a__first(mark(x0), mark(x1)))
MARK(from(X)) → A__FROM(mark(X))
A__SEL(s(s(x0)), cons(y1, y2)) → A__SEL(s(mark(x0)), mark(y2))
MARK(first(s(y0), first(x0, x1))) → A__FIRST(s(mark(y0)), a__first(mark(x0), mark(x1)))
MARK(sel(from(y0), from(x0))) → A__SEL(a__from(mark(y0)), a__from(mark(x0)))
MARK(first(s(y0), sel(x0, x1))) → A__FIRST(s(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(sel(0, first(x0, x1))) → A__SEL(0, a__first(mark(x0), mark(x1)))
MARK(sel(0, sel(x0, x1))) → A__SEL(0, a__sel(mark(x0), mark(x1)))
A__SEL(s(first(y0, y1)), cons(y2, sel(x0, x1))) → A__SEL(a__first(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
MARK(sel(X1, X2)) → MARK(X2)
MARK(sel(first(y0, y1), from(x0))) → A__SEL(a__first(mark(y0), mark(y1)), a__from(mark(x0)))
MARK(sel(from(y0), first(x0, x1))) → A__SEL(a__from(mark(y0)), a__first(mark(x0), mark(x1)))
A__SEL(s(first(y0, y1)), cons(y2, first(x0, x1))) → A__SEL(a__first(mark(y0), mark(y1)), a__first(mark(x0), mark(x1)))
a__from(X) → cons(mark(X), from(s(X)))
a__first(0, Z) → nil
a__first(s(X), cons(Y, Z)) → cons(mark(Y), first(X, Z))
a__sel(0, cons(X, Z)) → mark(X)
a__sel(s(X), cons(Y, Z)) → a__sel(mark(X), mark(Z))
mark(from(X)) → a__from(mark(X))
mark(first(X1, X2)) → a__first(mark(X1), mark(X2))
mark(sel(X1, X2)) → a__sel(mark(X1), mark(X2))
mark(cons(X1, X2)) → cons(mark(X1), X2)
mark(s(X)) → s(mark(X))
mark(0) → 0
mark(nil) → nil
a__from(X) → from(X)
a__first(X1, X2) → first(X1, X2)
a__sel(X1, X2) → sel(X1, X2)
A__SEL(s(sel(y0, y1)), cons(y2, sel(x0, x1))) → A__SEL(a__sel(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
A__SEL(s(sel(y0, y1)), cons(y2, from(x0))) → A__SEL(a__sel(mark(y0), mark(y1)), a__from(mark(x0)))
A__SEL(s(sel(y0, y1)), cons(y2, cons(x0, x1))) → A__SEL(a__sel(mark(y0), mark(y1)), cons(mark(x0), x1))
A__SEL(s(sel(y0, y1)), cons(y2, s(x0))) → A__SEL(a__sel(mark(y0), mark(y1)), s(mark(x0)))
A__SEL(s(sel(y0, y1)), cons(y2, 0)) → A__SEL(a__sel(mark(y0), mark(y1)), 0)
A__SEL(s(sel(y0, y1)), cons(y2, nil)) → A__SEL(a__sel(mark(y0), mark(y1)), nil)
A__SEL(s(sel(y0, y1)), cons(y2, first(x0, x1))) → A__SEL(a__sel(mark(y0), mark(y1)), a__first(mark(x0), mark(x1)))
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
MARK(sel(sel(y0, y1), sel(x0, x1))) → A__SEL(a__sel(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
MARK(sel(s(y0), cons(x0, x1))) → A__SEL(s(mark(y0)), cons(mark(x0), x1))
A__SEL(s(sel(y0, y1)), cons(y2, from(x0))) → A__SEL(a__sel(mark(y0), mark(y1)), a__from(mark(x0)))
MARK(sel(first(y0, y1), first(x0, x1))) → A__SEL(a__first(mark(y0), mark(y1)), a__first(mark(x0), mark(x1)))
MARK(cons(X1, X2)) → MARK(X1)
MARK(first(from(y0), first(x0, x1))) → A__FIRST(a__from(mark(y0)), a__first(mark(x0), mark(x1)))
MARK(first(first(y0, y1), from(x0))) → A__FIRST(a__first(mark(y0), mark(y1)), a__from(mark(x0)))
MARK(first(sel(y0, y1), from(x0))) → A__FIRST(a__sel(mark(y0), mark(y1)), a__from(mark(x0)))
MARK(first(from(y0), sel(x0, x1))) → A__FIRST(a__from(mark(y0)), a__sel(mark(x0), mark(x1)))
A__SEL(s(sel(y0, y1)), cons(y2, 0)) → A__SEL(a__sel(mark(y0), mark(y1)), 0)
A__SEL(s(X), cons(Y, Z)) → MARK(Z)
MARK(first(from(y0), cons(x0, x1))) → A__FIRST(a__from(mark(y0)), cons(mark(x0), x1))
MARK(sel(s(y0), from(x0))) → A__SEL(s(mark(y0)), a__from(mark(x0)))
MARK(first(sel(y0, y1), sel(x0, x1))) → A__FIRST(a__sel(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
A__SEL(s(sel(y0, y1)), cons(y2, sel(x0, x1))) → A__SEL(a__sel(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
MARK(sel(X1, X2)) → MARK(X1)
MARK(sel(sel(y0, y1), cons(x0, x1))) → A__SEL(a__sel(mark(y0), mark(y1)), cons(mark(x0), x1))
MARK(first(from(y0), from(x0))) → A__FIRST(a__from(mark(y0)), a__from(mark(x0)))
A__SEL(s(from(y0)), cons(y1, first(x0, x1))) → A__SEL(a__from(mark(y0)), a__first(mark(x0), mark(x1)))
MARK(first(X1, X2)) → MARK(X2)
A__SEL(s(sel(y0, y1)), cons(y2, cons(x0, x1))) → A__SEL(a__sel(mark(y0), mark(y1)), cons(mark(x0), x1))
A__FROM(X) → MARK(X)
MARK(first(s(y0), from(x0))) → A__FIRST(s(mark(y0)), a__from(mark(x0)))
A__SEL(s(first(y0, y1)), cons(y2, cons(x0, x1))) → A__SEL(a__first(mark(y0), mark(y1)), cons(mark(x0), x1))
A__SEL(s(sel(y0, y1)), cons(y2, nil)) → A__SEL(a__sel(mark(y0), mark(y1)), nil)
A__SEL(s(0), cons(y1, y2)) → A__SEL(0, mark(y2))
MARK(first(first(y0, y1), first(x0, x1))) → A__FIRST(a__first(mark(y0), mark(y1)), a__first(mark(x0), mark(x1)))
A__SEL(s(from(y0)), cons(y1, sel(x0, x1))) → A__SEL(a__from(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(sel(0, cons(x0, x1))) → A__SEL(0, cons(mark(x0), x1))
A__SEL(s(from(y0)), cons(y1, from(x0))) → A__SEL(a__from(mark(y0)), a__from(mark(x0)))
MARK(sel(from(y0), sel(x0, x1))) → A__SEL(a__from(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(sel(sel(y0, y1), from(x0))) → A__SEL(a__sel(mark(y0), mark(y1)), a__from(mark(x0)))
A__SEL(s(first(y0, y1)), cons(y2, from(x0))) → A__SEL(a__first(mark(y0), mark(y1)), a__from(mark(x0)))
MARK(first(first(y0, y1), sel(x0, x1))) → A__FIRST(a__first(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
MARK(first(sel(y0, y1), first(x0, x1))) → A__FIRST(a__sel(mark(y0), mark(y1)), a__first(mark(x0), mark(x1)))
MARK(sel(first(y0, y1), cons(x0, x1))) → A__SEL(a__first(mark(y0), mark(y1)), cons(mark(x0), x1))
MARK(sel(from(y0), cons(x0, x1))) → A__SEL(a__from(mark(y0)), cons(mark(x0), x1))
MARK(s(X)) → MARK(X)
MARK(sel(first(y0, y1), sel(x0, x1))) → A__SEL(a__first(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
MARK(sel(sel(y0, y1), first(x0, x1))) → A__SEL(a__sel(mark(y0), mark(y1)), a__first(mark(x0), mark(x1)))
MARK(sel(s(y0), sel(x0, x1))) → A__SEL(s(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(first(s(y0), cons(x0, x1))) → A__FIRST(s(mark(y0)), cons(mark(x0), x1))
MARK(sel(0, from(x0))) → A__SEL(0, a__from(mark(x0)))
A__SEL(0, cons(X, Z)) → MARK(X)
A__SEL(s(from(y0)), cons(y1, cons(x0, x1))) → A__SEL(a__from(mark(y0)), cons(mark(x0), x1))
A__FIRST(s(X), cons(Y, Z)) → MARK(Y)
MARK(first(sel(y0, y1), cons(x0, x1))) → A__FIRST(a__sel(mark(y0), mark(y1)), cons(mark(x0), x1))
A__SEL(s(X), cons(Y, Z)) → MARK(X)
MARK(first(X1, X2)) → MARK(X1)
MARK(first(first(y0, y1), cons(x0, x1))) → A__FIRST(a__first(mark(y0), mark(y1)), cons(mark(x0), x1))
MARK(from(X)) → MARK(X)
A__SEL(s(s(x0)), cons(y1, y2)) → A__SEL(s(mark(x0)), mark(y2))
MARK(from(X)) → A__FROM(mark(X))
MARK(sel(s(y0), first(x0, x1))) → A__SEL(s(mark(y0)), a__first(mark(x0), mark(x1)))
MARK(sel(from(y0), from(x0))) → A__SEL(a__from(mark(y0)), a__from(mark(x0)))
MARK(first(s(y0), first(x0, x1))) → A__FIRST(s(mark(y0)), a__first(mark(x0), mark(x1)))
MARK(first(s(y0), sel(x0, x1))) → A__FIRST(s(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(sel(0, first(x0, x1))) → A__SEL(0, a__first(mark(x0), mark(x1)))
A__SEL(s(sel(y0, y1)), cons(y2, s(x0))) → A__SEL(a__sel(mark(y0), mark(y1)), s(mark(x0)))
MARK(sel(0, sel(x0, x1))) → A__SEL(0, a__sel(mark(x0), mark(x1)))
A__SEL(s(sel(y0, y1)), cons(y2, first(x0, x1))) → A__SEL(a__sel(mark(y0), mark(y1)), a__first(mark(x0), mark(x1)))
A__SEL(s(first(y0, y1)), cons(y2, sel(x0, x1))) → A__SEL(a__first(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
MARK(sel(X1, X2)) → MARK(X2)
A__SEL(s(first(y0, y1)), cons(y2, first(x0, x1))) → A__SEL(a__first(mark(y0), mark(y1)), a__first(mark(x0), mark(x1)))
MARK(sel(from(y0), first(x0, x1))) → A__SEL(a__from(mark(y0)), a__first(mark(x0), mark(x1)))
MARK(sel(first(y0, y1), from(x0))) → A__SEL(a__first(mark(y0), mark(y1)), a__from(mark(x0)))
a__from(X) → cons(mark(X), from(s(X)))
a__first(0, Z) → nil
a__first(s(X), cons(Y, Z)) → cons(mark(Y), first(X, Z))
a__sel(0, cons(X, Z)) → mark(X)
a__sel(s(X), cons(Y, Z)) → a__sel(mark(X), mark(Z))
mark(from(X)) → a__from(mark(X))
mark(first(X1, X2)) → a__first(mark(X1), mark(X2))
mark(sel(X1, X2)) → a__sel(mark(X1), mark(X2))
mark(cons(X1, X2)) → cons(mark(X1), X2)
mark(s(X)) → s(mark(X))
mark(0) → 0
mark(nil) → nil
a__from(X) → from(X)
a__first(X1, X2) → first(X1, X2)
a__sel(X1, X2) → sel(X1, X2)
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
MARK(sel(sel(y0, y1), sel(x0, x1))) → A__SEL(a__sel(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
MARK(sel(s(y0), cons(x0, x1))) → A__SEL(s(mark(y0)), cons(mark(x0), x1))
A__SEL(s(sel(y0, y1)), cons(y2, from(x0))) → A__SEL(a__sel(mark(y0), mark(y1)), a__from(mark(x0)))
MARK(sel(first(y0, y1), first(x0, x1))) → A__SEL(a__first(mark(y0), mark(y1)), a__first(mark(x0), mark(x1)))
MARK(first(first(y0, y1), from(x0))) → A__FIRST(a__first(mark(y0), mark(y1)), a__from(mark(x0)))
MARK(first(from(y0), first(x0, x1))) → A__FIRST(a__from(mark(y0)), a__first(mark(x0), mark(x1)))
MARK(cons(X1, X2)) → MARK(X1)
MARK(first(from(y0), sel(x0, x1))) → A__FIRST(a__from(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(first(sel(y0, y1), from(x0))) → A__FIRST(a__sel(mark(y0), mark(y1)), a__from(mark(x0)))
A__SEL(s(X), cons(Y, Z)) → MARK(Z)
MARK(first(from(y0), cons(x0, x1))) → A__FIRST(a__from(mark(y0)), cons(mark(x0), x1))
MARK(sel(s(y0), from(x0))) → A__SEL(s(mark(y0)), a__from(mark(x0)))
MARK(first(sel(y0, y1), sel(x0, x1))) → A__FIRST(a__sel(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
A__SEL(s(sel(y0, y1)), cons(y2, sel(x0, x1))) → A__SEL(a__sel(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
MARK(sel(X1, X2)) → MARK(X1)
MARK(sel(sel(y0, y1), cons(x0, x1))) → A__SEL(a__sel(mark(y0), mark(y1)), cons(mark(x0), x1))
MARK(first(from(y0), from(x0))) → A__FIRST(a__from(mark(y0)), a__from(mark(x0)))
MARK(first(X1, X2)) → MARK(X2)
A__SEL(s(from(y0)), cons(y1, first(x0, x1))) → A__SEL(a__from(mark(y0)), a__first(mark(x0), mark(x1)))
A__SEL(s(sel(y0, y1)), cons(y2, cons(x0, x1))) → A__SEL(a__sel(mark(y0), mark(y1)), cons(mark(x0), x1))
MARK(first(s(y0), from(x0))) → A__FIRST(s(mark(y0)), a__from(mark(x0)))
A__FROM(X) → MARK(X)
A__SEL(s(first(y0, y1)), cons(y2, cons(x0, x1))) → A__SEL(a__first(mark(y0), mark(y1)), cons(mark(x0), x1))
A__SEL(s(0), cons(y1, y2)) → A__SEL(0, mark(y2))
MARK(first(first(y0, y1), first(x0, x1))) → A__FIRST(a__first(mark(y0), mark(y1)), a__first(mark(x0), mark(x1)))
A__SEL(s(from(y0)), cons(y1, sel(x0, x1))) → A__SEL(a__from(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(sel(sel(y0, y1), from(x0))) → A__SEL(a__sel(mark(y0), mark(y1)), a__from(mark(x0)))
MARK(sel(from(y0), sel(x0, x1))) → A__SEL(a__from(mark(y0)), a__sel(mark(x0), mark(x1)))
A__SEL(s(from(y0)), cons(y1, from(x0))) → A__SEL(a__from(mark(y0)), a__from(mark(x0)))
MARK(sel(0, cons(x0, x1))) → A__SEL(0, cons(mark(x0), x1))
A__SEL(s(first(y0, y1)), cons(y2, from(x0))) → A__SEL(a__first(mark(y0), mark(y1)), a__from(mark(x0)))
MARK(first(sel(y0, y1), first(x0, x1))) → A__FIRST(a__sel(mark(y0), mark(y1)), a__first(mark(x0), mark(x1)))
MARK(first(first(y0, y1), sel(x0, x1))) → A__FIRST(a__first(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
MARK(sel(first(y0, y1), cons(x0, x1))) → A__SEL(a__first(mark(y0), mark(y1)), cons(mark(x0), x1))
MARK(sel(from(y0), cons(x0, x1))) → A__SEL(a__from(mark(y0)), cons(mark(x0), x1))
MARK(s(X)) → MARK(X)
MARK(sel(s(y0), sel(x0, x1))) → A__SEL(s(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(sel(sel(y0, y1), first(x0, x1))) → A__SEL(a__sel(mark(y0), mark(y1)), a__first(mark(x0), mark(x1)))
MARK(sel(first(y0, y1), sel(x0, x1))) → A__SEL(a__first(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
MARK(first(s(y0), cons(x0, x1))) → A__FIRST(s(mark(y0)), cons(mark(x0), x1))
MARK(sel(0, from(x0))) → A__SEL(0, a__from(mark(x0)))
A__SEL(0, cons(X, Z)) → MARK(X)
A__FIRST(s(X), cons(Y, Z)) → MARK(Y)
A__SEL(s(from(y0)), cons(y1, cons(x0, x1))) → A__SEL(a__from(mark(y0)), cons(mark(x0), x1))
MARK(first(sel(y0, y1), cons(x0, x1))) → A__FIRST(a__sel(mark(y0), mark(y1)), cons(mark(x0), x1))
A__SEL(s(X), cons(Y, Z)) → MARK(X)
MARK(first(X1, X2)) → MARK(X1)
MARK(first(first(y0, y1), cons(x0, x1))) → A__FIRST(a__first(mark(y0), mark(y1)), cons(mark(x0), x1))
MARK(from(X)) → MARK(X)
MARK(sel(s(y0), first(x0, x1))) → A__SEL(s(mark(y0)), a__first(mark(x0), mark(x1)))
MARK(from(X)) → A__FROM(mark(X))
A__SEL(s(s(x0)), cons(y1, y2)) → A__SEL(s(mark(x0)), mark(y2))
MARK(first(s(y0), first(x0, x1))) → A__FIRST(s(mark(y0)), a__first(mark(x0), mark(x1)))
MARK(sel(from(y0), from(x0))) → A__SEL(a__from(mark(y0)), a__from(mark(x0)))
MARK(first(s(y0), sel(x0, x1))) → A__FIRST(s(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(sel(0, first(x0, x1))) → A__SEL(0, a__first(mark(x0), mark(x1)))
MARK(sel(0, sel(x0, x1))) → A__SEL(0, a__sel(mark(x0), mark(x1)))
A__SEL(s(first(y0, y1)), cons(y2, sel(x0, x1))) → A__SEL(a__first(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
A__SEL(s(sel(y0, y1)), cons(y2, first(x0, x1))) → A__SEL(a__sel(mark(y0), mark(y1)), a__first(mark(x0), mark(x1)))
MARK(sel(X1, X2)) → MARK(X2)
MARK(sel(first(y0, y1), from(x0))) → A__SEL(a__first(mark(y0), mark(y1)), a__from(mark(x0)))
MARK(sel(from(y0), first(x0, x1))) → A__SEL(a__from(mark(y0)), a__first(mark(x0), mark(x1)))
A__SEL(s(first(y0, y1)), cons(y2, first(x0, x1))) → A__SEL(a__first(mark(y0), mark(y1)), a__first(mark(x0), mark(x1)))
a__from(X) → cons(mark(X), from(s(X)))
a__first(0, Z) → nil
a__first(s(X), cons(Y, Z)) → cons(mark(Y), first(X, Z))
a__sel(0, cons(X, Z)) → mark(X)
a__sel(s(X), cons(Y, Z)) → a__sel(mark(X), mark(Z))
mark(from(X)) → a__from(mark(X))
mark(first(X1, X2)) → a__first(mark(X1), mark(X2))
mark(sel(X1, X2)) → a__sel(mark(X1), mark(X2))
mark(cons(X1, X2)) → cons(mark(X1), X2)
mark(s(X)) → s(mark(X))
mark(0) → 0
mark(nil) → nil
a__from(X) → from(X)
a__first(X1, X2) → first(X1, X2)
a__sel(X1, X2) → sel(X1, X2)
A__SEL(s(0), cons(y0, first(x0, x1))) → A__SEL(0, a__first(mark(x0), mark(x1)))
A__SEL(s(0), cons(y0, nil)) → A__SEL(0, nil)
A__SEL(s(0), cons(y0, s(x0))) → A__SEL(0, s(mark(x0)))
A__SEL(s(0), cons(y0, from(x0))) → A__SEL(0, a__from(mark(x0)))
A__SEL(s(0), cons(y0, cons(x0, x1))) → A__SEL(0, cons(mark(x0), x1))
A__SEL(s(0), cons(y0, sel(x0, x1))) → A__SEL(0, a__sel(mark(x0), mark(x1)))
A__SEL(s(0), cons(y0, 0)) → A__SEL(0, 0)
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
MARK(sel(sel(y0, y1), sel(x0, x1))) → A__SEL(a__sel(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
MARK(sel(s(y0), cons(x0, x1))) → A__SEL(s(mark(y0)), cons(mark(x0), x1))
A__SEL(s(sel(y0, y1)), cons(y2, from(x0))) → A__SEL(a__sel(mark(y0), mark(y1)), a__from(mark(x0)))
A__SEL(s(0), cons(y0, s(x0))) → A__SEL(0, s(mark(x0)))
MARK(sel(first(y0, y1), first(x0, x1))) → A__SEL(a__first(mark(y0), mark(y1)), a__first(mark(x0), mark(x1)))
MARK(cons(X1, X2)) → MARK(X1)
MARK(first(from(y0), first(x0, x1))) → A__FIRST(a__from(mark(y0)), a__first(mark(x0), mark(x1)))
MARK(first(first(y0, y1), from(x0))) → A__FIRST(a__first(mark(y0), mark(y1)), a__from(mark(x0)))
MARK(first(sel(y0, y1), from(x0))) → A__FIRST(a__sel(mark(y0), mark(y1)), a__from(mark(x0)))
MARK(first(from(y0), sel(x0, x1))) → A__FIRST(a__from(mark(y0)), a__sel(mark(x0), mark(x1)))
A__SEL(s(0), cons(y0, first(x0, x1))) → A__SEL(0, a__first(mark(x0), mark(x1)))
A__SEL(s(X), cons(Y, Z)) → MARK(Z)
MARK(first(from(y0), cons(x0, x1))) → A__FIRST(a__from(mark(y0)), cons(mark(x0), x1))
MARK(sel(s(y0), from(x0))) → A__SEL(s(mark(y0)), a__from(mark(x0)))
MARK(first(sel(y0, y1), sel(x0, x1))) → A__FIRST(a__sel(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
A__SEL(s(sel(y0, y1)), cons(y2, sel(x0, x1))) → A__SEL(a__sel(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
MARK(sel(X1, X2)) → MARK(X1)
MARK(sel(sel(y0, y1), cons(x0, x1))) → A__SEL(a__sel(mark(y0), mark(y1)), cons(mark(x0), x1))
MARK(first(from(y0), from(x0))) → A__FIRST(a__from(mark(y0)), a__from(mark(x0)))
A__SEL(s(from(y0)), cons(y1, first(x0, x1))) → A__SEL(a__from(mark(y0)), a__first(mark(x0), mark(x1)))
MARK(first(X1, X2)) → MARK(X2)
A__SEL(s(sel(y0, y1)), cons(y2, cons(x0, x1))) → A__SEL(a__sel(mark(y0), mark(y1)), cons(mark(x0), x1))
A__FROM(X) → MARK(X)
MARK(first(s(y0), from(x0))) → A__FIRST(s(mark(y0)), a__from(mark(x0)))
A__SEL(s(first(y0, y1)), cons(y2, cons(x0, x1))) → A__SEL(a__first(mark(y0), mark(y1)), cons(mark(x0), x1))
MARK(first(first(y0, y1), first(x0, x1))) → A__FIRST(a__first(mark(y0), mark(y1)), a__first(mark(x0), mark(x1)))
A__SEL(s(from(y0)), cons(y1, sel(x0, x1))) → A__SEL(a__from(mark(y0)), a__sel(mark(x0), mark(x1)))
A__SEL(s(0), cons(y0, nil)) → A__SEL(0, nil)
MARK(sel(0, cons(x0, x1))) → A__SEL(0, cons(mark(x0), x1))
A__SEL(s(from(y0)), cons(y1, from(x0))) → A__SEL(a__from(mark(y0)), a__from(mark(x0)))
MARK(sel(from(y0), sel(x0, x1))) → A__SEL(a__from(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(sel(sel(y0, y1), from(x0))) → A__SEL(a__sel(mark(y0), mark(y1)), a__from(mark(x0)))
A__SEL(s(first(y0, y1)), cons(y2, from(x0))) → A__SEL(a__first(mark(y0), mark(y1)), a__from(mark(x0)))
MARK(first(first(y0, y1), sel(x0, x1))) → A__FIRST(a__first(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
MARK(first(sel(y0, y1), first(x0, x1))) → A__FIRST(a__sel(mark(y0), mark(y1)), a__first(mark(x0), mark(x1)))
MARK(sel(first(y0, y1), cons(x0, x1))) → A__SEL(a__first(mark(y0), mark(y1)), cons(mark(x0), x1))
A__SEL(s(0), cons(y0, sel(x0, x1))) → A__SEL(0, a__sel(mark(x0), mark(x1)))
MARK(sel(from(y0), cons(x0, x1))) → A__SEL(a__from(mark(y0)), cons(mark(x0), x1))
MARK(s(X)) → MARK(X)
MARK(sel(first(y0, y1), sel(x0, x1))) → A__SEL(a__first(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
MARK(sel(sel(y0, y1), first(x0, x1))) → A__SEL(a__sel(mark(y0), mark(y1)), a__first(mark(x0), mark(x1)))
MARK(sel(s(y0), sel(x0, x1))) → A__SEL(s(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(first(s(y0), cons(x0, x1))) → A__FIRST(s(mark(y0)), cons(mark(x0), x1))
A__SEL(0, cons(X, Z)) → MARK(X)
MARK(sel(0, from(x0))) → A__SEL(0, a__from(mark(x0)))
A__SEL(s(from(y0)), cons(y1, cons(x0, x1))) → A__SEL(a__from(mark(y0)), cons(mark(x0), x1))
A__FIRST(s(X), cons(Y, Z)) → MARK(Y)
MARK(first(sel(y0, y1), cons(x0, x1))) → A__FIRST(a__sel(mark(y0), mark(y1)), cons(mark(x0), x1))
A__SEL(s(0), cons(y0, cons(x0, x1))) → A__SEL(0, cons(mark(x0), x1))
A__SEL(s(X), cons(Y, Z)) → MARK(X)
MARK(first(X1, X2)) → MARK(X1)
MARK(first(first(y0, y1), cons(x0, x1))) → A__FIRST(a__first(mark(y0), mark(y1)), cons(mark(x0), x1))
MARK(from(X)) → MARK(X)
A__SEL(s(s(x0)), cons(y1, y2)) → A__SEL(s(mark(x0)), mark(y2))
MARK(from(X)) → A__FROM(mark(X))
MARK(sel(s(y0), first(x0, x1))) → A__SEL(s(mark(y0)), a__first(mark(x0), mark(x1)))
MARK(sel(from(y0), from(x0))) → A__SEL(a__from(mark(y0)), a__from(mark(x0)))
MARK(first(s(y0), first(x0, x1))) → A__FIRST(s(mark(y0)), a__first(mark(x0), mark(x1)))
MARK(first(s(y0), sel(x0, x1))) → A__FIRST(s(mark(y0)), a__sel(mark(x0), mark(x1)))
A__SEL(s(0), cons(y0, 0)) → A__SEL(0, 0)
MARK(sel(0, first(x0, x1))) → A__SEL(0, a__first(mark(x0), mark(x1)))
MARK(sel(0, sel(x0, x1))) → A__SEL(0, a__sel(mark(x0), mark(x1)))
A__SEL(s(sel(y0, y1)), cons(y2, first(x0, x1))) → A__SEL(a__sel(mark(y0), mark(y1)), a__first(mark(x0), mark(x1)))
A__SEL(s(first(y0, y1)), cons(y2, sel(x0, x1))) → A__SEL(a__first(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
A__SEL(s(0), cons(y0, from(x0))) → A__SEL(0, a__from(mark(x0)))
MARK(sel(X1, X2)) → MARK(X2)
A__SEL(s(first(y0, y1)), cons(y2, first(x0, x1))) → A__SEL(a__first(mark(y0), mark(y1)), a__first(mark(x0), mark(x1)))
MARK(sel(from(y0), first(x0, x1))) → A__SEL(a__from(mark(y0)), a__first(mark(x0), mark(x1)))
MARK(sel(first(y0, y1), from(x0))) → A__SEL(a__first(mark(y0), mark(y1)), a__from(mark(x0)))
a__from(X) → cons(mark(X), from(s(X)))
a__first(0, Z) → nil
a__first(s(X), cons(Y, Z)) → cons(mark(Y), first(X, Z))
a__sel(0, cons(X, Z)) → mark(X)
a__sel(s(X), cons(Y, Z)) → a__sel(mark(X), mark(Z))
mark(from(X)) → a__from(mark(X))
mark(first(X1, X2)) → a__first(mark(X1), mark(X2))
mark(sel(X1, X2)) → a__sel(mark(X1), mark(X2))
mark(cons(X1, X2)) → cons(mark(X1), X2)
mark(s(X)) → s(mark(X))
mark(0) → 0
mark(nil) → nil
a__from(X) → from(X)
a__first(X1, X2) → first(X1, X2)
a__sel(X1, X2) → sel(X1, X2)
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
MARK(sel(sel(y0, y1), sel(x0, x1))) → A__SEL(a__sel(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
MARK(sel(s(y0), cons(x0, x1))) → A__SEL(s(mark(y0)), cons(mark(x0), x1))
A__SEL(s(sel(y0, y1)), cons(y2, from(x0))) → A__SEL(a__sel(mark(y0), mark(y1)), a__from(mark(x0)))
MARK(sel(first(y0, y1), first(x0, x1))) → A__SEL(a__first(mark(y0), mark(y1)), a__first(mark(x0), mark(x1)))
MARK(first(first(y0, y1), from(x0))) → A__FIRST(a__first(mark(y0), mark(y1)), a__from(mark(x0)))
MARK(first(from(y0), first(x0, x1))) → A__FIRST(a__from(mark(y0)), a__first(mark(x0), mark(x1)))
MARK(cons(X1, X2)) → MARK(X1)
MARK(first(from(y0), sel(x0, x1))) → A__FIRST(a__from(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(first(sel(y0, y1), from(x0))) → A__FIRST(a__sel(mark(y0), mark(y1)), a__from(mark(x0)))
A__SEL(s(0), cons(y0, first(x0, x1))) → A__SEL(0, a__first(mark(x0), mark(x1)))
A__SEL(s(X), cons(Y, Z)) → MARK(Z)
MARK(first(from(y0), cons(x0, x1))) → A__FIRST(a__from(mark(y0)), cons(mark(x0), x1))
MARK(sel(s(y0), from(x0))) → A__SEL(s(mark(y0)), a__from(mark(x0)))
MARK(first(sel(y0, y1), sel(x0, x1))) → A__FIRST(a__sel(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
A__SEL(s(sel(y0, y1)), cons(y2, sel(x0, x1))) → A__SEL(a__sel(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
MARK(sel(X1, X2)) → MARK(X1)
MARK(sel(sel(y0, y1), cons(x0, x1))) → A__SEL(a__sel(mark(y0), mark(y1)), cons(mark(x0), x1))
MARK(first(from(y0), from(x0))) → A__FIRST(a__from(mark(y0)), a__from(mark(x0)))
MARK(first(X1, X2)) → MARK(X2)
A__SEL(s(from(y0)), cons(y1, first(x0, x1))) → A__SEL(a__from(mark(y0)), a__first(mark(x0), mark(x1)))
A__SEL(s(sel(y0, y1)), cons(y2, cons(x0, x1))) → A__SEL(a__sel(mark(y0), mark(y1)), cons(mark(x0), x1))
MARK(first(s(y0), from(x0))) → A__FIRST(s(mark(y0)), a__from(mark(x0)))
A__FROM(X) → MARK(X)
A__SEL(s(first(y0, y1)), cons(y2, cons(x0, x1))) → A__SEL(a__first(mark(y0), mark(y1)), cons(mark(x0), x1))
MARK(first(first(y0, y1), first(x0, x1))) → A__FIRST(a__first(mark(y0), mark(y1)), a__first(mark(x0), mark(x1)))
A__SEL(s(from(y0)), cons(y1, sel(x0, x1))) → A__SEL(a__from(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(sel(sel(y0, y1), from(x0))) → A__SEL(a__sel(mark(y0), mark(y1)), a__from(mark(x0)))
MARK(sel(0, cons(x0, x1))) → A__SEL(0, cons(mark(x0), x1))
MARK(sel(from(y0), sel(x0, x1))) → A__SEL(a__from(mark(y0)), a__sel(mark(x0), mark(x1)))
A__SEL(s(from(y0)), cons(y1, from(x0))) → A__SEL(a__from(mark(y0)), a__from(mark(x0)))
A__SEL(s(first(y0, y1)), cons(y2, from(x0))) → A__SEL(a__first(mark(y0), mark(y1)), a__from(mark(x0)))
MARK(first(sel(y0, y1), first(x0, x1))) → A__FIRST(a__sel(mark(y0), mark(y1)), a__first(mark(x0), mark(x1)))
MARK(first(first(y0, y1), sel(x0, x1))) → A__FIRST(a__first(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
MARK(sel(first(y0, y1), cons(x0, x1))) → A__SEL(a__first(mark(y0), mark(y1)), cons(mark(x0), x1))
A__SEL(s(0), cons(y0, sel(x0, x1))) → A__SEL(0, a__sel(mark(x0), mark(x1)))
MARK(sel(from(y0), cons(x0, x1))) → A__SEL(a__from(mark(y0)), cons(mark(x0), x1))
MARK(s(X)) → MARK(X)
MARK(sel(s(y0), sel(x0, x1))) → A__SEL(s(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(sel(sel(y0, y1), first(x0, x1))) → A__SEL(a__sel(mark(y0), mark(y1)), a__first(mark(x0), mark(x1)))
MARK(sel(first(y0, y1), sel(x0, x1))) → A__SEL(a__first(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
MARK(first(s(y0), cons(x0, x1))) → A__FIRST(s(mark(y0)), cons(mark(x0), x1))
MARK(sel(0, from(x0))) → A__SEL(0, a__from(mark(x0)))
A__SEL(0, cons(X, Z)) → MARK(X)
A__FIRST(s(X), cons(Y, Z)) → MARK(Y)
A__SEL(s(from(y0)), cons(y1, cons(x0, x1))) → A__SEL(a__from(mark(y0)), cons(mark(x0), x1))
MARK(first(sel(y0, y1), cons(x0, x1))) → A__FIRST(a__sel(mark(y0), mark(y1)), cons(mark(x0), x1))
A__SEL(s(0), cons(y0, cons(x0, x1))) → A__SEL(0, cons(mark(x0), x1))
A__SEL(s(X), cons(Y, Z)) → MARK(X)
MARK(first(X1, X2)) → MARK(X1)
MARK(first(first(y0, y1), cons(x0, x1))) → A__FIRST(a__first(mark(y0), mark(y1)), cons(mark(x0), x1))
MARK(from(X)) → MARK(X)
MARK(sel(s(y0), first(x0, x1))) → A__SEL(s(mark(y0)), a__first(mark(x0), mark(x1)))
MARK(from(X)) → A__FROM(mark(X))
A__SEL(s(s(x0)), cons(y1, y2)) → A__SEL(s(mark(x0)), mark(y2))
MARK(first(s(y0), first(x0, x1))) → A__FIRST(s(mark(y0)), a__first(mark(x0), mark(x1)))
MARK(sel(from(y0), from(x0))) → A__SEL(a__from(mark(y0)), a__from(mark(x0)))
MARK(first(s(y0), sel(x0, x1))) → A__FIRST(s(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(sel(0, first(x0, x1))) → A__SEL(0, a__first(mark(x0), mark(x1)))
MARK(sel(0, sel(x0, x1))) → A__SEL(0, a__sel(mark(x0), mark(x1)))
A__SEL(s(first(y0, y1)), cons(y2, sel(x0, x1))) → A__SEL(a__first(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
A__SEL(s(sel(y0, y1)), cons(y2, first(x0, x1))) → A__SEL(a__sel(mark(y0), mark(y1)), a__first(mark(x0), mark(x1)))
A__SEL(s(0), cons(y0, from(x0))) → A__SEL(0, a__from(mark(x0)))
MARK(sel(X1, X2)) → MARK(X2)
MARK(sel(first(y0, y1), from(x0))) → A__SEL(a__first(mark(y0), mark(y1)), a__from(mark(x0)))
MARK(sel(from(y0), first(x0, x1))) → A__SEL(a__from(mark(y0)), a__first(mark(x0), mark(x1)))
A__SEL(s(first(y0, y1)), cons(y2, first(x0, x1))) → A__SEL(a__first(mark(y0), mark(y1)), a__first(mark(x0), mark(x1)))
a__from(X) → cons(mark(X), from(s(X)))
a__first(0, Z) → nil
a__first(s(X), cons(Y, Z)) → cons(mark(Y), first(X, Z))
a__sel(0, cons(X, Z)) → mark(X)
a__sel(s(X), cons(Y, Z)) → a__sel(mark(X), mark(Z))
mark(from(X)) → a__from(mark(X))
mark(first(X1, X2)) → a__first(mark(X1), mark(X2))
mark(sel(X1, X2)) → a__sel(mark(X1), mark(X2))
mark(cons(X1, X2)) → cons(mark(X1), X2)
mark(s(X)) → s(mark(X))
mark(0) → 0
mark(nil) → nil
a__from(X) → from(X)
a__first(X1, X2) → first(X1, X2)
a__sel(X1, X2) → sel(X1, X2)
A__SEL(s(s(y0)), cons(y1, s(x0))) → A__SEL(s(mark(y0)), s(mark(x0)))
A__SEL(s(s(y0)), cons(y1, sel(x0, x1))) → A__SEL(s(mark(y0)), a__sel(mark(x0), mark(x1)))
A__SEL(s(s(y0)), cons(y1, 0)) → A__SEL(s(mark(y0)), 0)
A__SEL(s(s(y0)), cons(y1, nil)) → A__SEL(s(mark(y0)), nil)
A__SEL(s(s(y0)), cons(y1, first(x0, x1))) → A__SEL(s(mark(y0)), a__first(mark(x0), mark(x1)))
A__SEL(s(s(y0)), cons(y1, cons(x0, x1))) → A__SEL(s(mark(y0)), cons(mark(x0), x1))
A__SEL(s(s(y0)), cons(y1, from(x0))) → A__SEL(s(mark(y0)), a__from(mark(x0)))
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
A__SEL(s(s(y0)), cons(y1, s(x0))) → A__SEL(s(mark(y0)), s(mark(x0)))
MARK(sel(sel(y0, y1), sel(x0, x1))) → A__SEL(a__sel(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
MARK(sel(s(y0), cons(x0, x1))) → A__SEL(s(mark(y0)), cons(mark(x0), x1))
A__SEL(s(sel(y0, y1)), cons(y2, from(x0))) → A__SEL(a__sel(mark(y0), mark(y1)), a__from(mark(x0)))
MARK(sel(first(y0, y1), first(x0, x1))) → A__SEL(a__first(mark(y0), mark(y1)), a__first(mark(x0), mark(x1)))
MARK(cons(X1, X2)) → MARK(X1)
MARK(first(from(y0), first(x0, x1))) → A__FIRST(a__from(mark(y0)), a__first(mark(x0), mark(x1)))
MARK(first(first(y0, y1), from(x0))) → A__FIRST(a__first(mark(y0), mark(y1)), a__from(mark(x0)))
MARK(first(sel(y0, y1), from(x0))) → A__FIRST(a__sel(mark(y0), mark(y1)), a__from(mark(x0)))
MARK(first(from(y0), sel(x0, x1))) → A__FIRST(a__from(mark(y0)), a__sel(mark(x0), mark(x1)))
A__SEL(s(0), cons(y0, first(x0, x1))) → A__SEL(0, a__first(mark(x0), mark(x1)))
A__SEL(s(X), cons(Y, Z)) → MARK(Z)
MARK(first(from(y0), cons(x0, x1))) → A__FIRST(a__from(mark(y0)), cons(mark(x0), x1))
A__SEL(s(s(y0)), cons(y1, nil)) → A__SEL(s(mark(y0)), nil)
MARK(sel(s(y0), from(x0))) → A__SEL(s(mark(y0)), a__from(mark(x0)))
MARK(first(sel(y0, y1), sel(x0, x1))) → A__FIRST(a__sel(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
A__SEL(s(sel(y0, y1)), cons(y2, sel(x0, x1))) → A__SEL(a__sel(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
A__SEL(s(s(y0)), cons(y1, sel(x0, x1))) → A__SEL(s(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(sel(X1, X2)) → MARK(X1)
MARK(sel(sel(y0, y1), cons(x0, x1))) → A__SEL(a__sel(mark(y0), mark(y1)), cons(mark(x0), x1))
MARK(first(from(y0), from(x0))) → A__FIRST(a__from(mark(y0)), a__from(mark(x0)))
A__SEL(s(s(y0)), cons(y1, first(x0, x1))) → A__SEL(s(mark(y0)), a__first(mark(x0), mark(x1)))
A__SEL(s(from(y0)), cons(y1, first(x0, x1))) → A__SEL(a__from(mark(y0)), a__first(mark(x0), mark(x1)))
MARK(first(X1, X2)) → MARK(X2)
A__SEL(s(sel(y0, y1)), cons(y2, cons(x0, x1))) → A__SEL(a__sel(mark(y0), mark(y1)), cons(mark(x0), x1))
A__SEL(s(s(y0)), cons(y1, cons(x0, x1))) → A__SEL(s(mark(y0)), cons(mark(x0), x1))
A__FROM(X) → MARK(X)
MARK(first(s(y0), from(x0))) → A__FIRST(s(mark(y0)), a__from(mark(x0)))
A__SEL(s(first(y0, y1)), cons(y2, cons(x0, x1))) → A__SEL(a__first(mark(y0), mark(y1)), cons(mark(x0), x1))
A__SEL(s(s(y0)), cons(y1, 0)) → A__SEL(s(mark(y0)), 0)
MARK(first(first(y0, y1), first(x0, x1))) → A__FIRST(a__first(mark(y0), mark(y1)), a__first(mark(x0), mark(x1)))
A__SEL(s(from(y0)), cons(y1, sel(x0, x1))) → A__SEL(a__from(mark(y0)), a__sel(mark(x0), mark(x1)))
A__SEL(s(from(y0)), cons(y1, from(x0))) → A__SEL(a__from(mark(y0)), a__from(mark(x0)))
MARK(sel(from(y0), sel(x0, x1))) → A__SEL(a__from(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(sel(0, cons(x0, x1))) → A__SEL(0, cons(mark(x0), x1))
MARK(sel(sel(y0, y1), from(x0))) → A__SEL(a__sel(mark(y0), mark(y1)), a__from(mark(x0)))
A__SEL(s(first(y0, y1)), cons(y2, from(x0))) → A__SEL(a__first(mark(y0), mark(y1)), a__from(mark(x0)))
MARK(first(first(y0, y1), sel(x0, x1))) → A__FIRST(a__first(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
MARK(first(sel(y0, y1), first(x0, x1))) → A__FIRST(a__sel(mark(y0), mark(y1)), a__first(mark(x0), mark(x1)))
MARK(sel(first(y0, y1), cons(x0, x1))) → A__SEL(a__first(mark(y0), mark(y1)), cons(mark(x0), x1))
A__SEL(s(0), cons(y0, sel(x0, x1))) → A__SEL(0, a__sel(mark(x0), mark(x1)))
MARK(sel(from(y0), cons(x0, x1))) → A__SEL(a__from(mark(y0)), cons(mark(x0), x1))
MARK(s(X)) → MARK(X)
MARK(sel(first(y0, y1), sel(x0, x1))) → A__SEL(a__first(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
MARK(sel(sel(y0, y1), first(x0, x1))) → A__SEL(a__sel(mark(y0), mark(y1)), a__first(mark(x0), mark(x1)))
MARK(sel(s(y0), sel(x0, x1))) → A__SEL(s(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(first(s(y0), cons(x0, x1))) → A__FIRST(s(mark(y0)), cons(mark(x0), x1))
A__SEL(0, cons(X, Z)) → MARK(X)
MARK(sel(0, from(x0))) → A__SEL(0, a__from(mark(x0)))
A__SEL(s(from(y0)), cons(y1, cons(x0, x1))) → A__SEL(a__from(mark(y0)), cons(mark(x0), x1))
A__FIRST(s(X), cons(Y, Z)) → MARK(Y)
MARK(first(sel(y0, y1), cons(x0, x1))) → A__FIRST(a__sel(mark(y0), mark(y1)), cons(mark(x0), x1))
A__SEL(s(0), cons(y0, cons(x0, x1))) → A__SEL(0, cons(mark(x0), x1))
A__SEL(s(s(y0)), cons(y1, from(x0))) → A__SEL(s(mark(y0)), a__from(mark(x0)))
A__SEL(s(X), cons(Y, Z)) → MARK(X)
MARK(first(X1, X2)) → MARK(X1)
MARK(first(first(y0, y1), cons(x0, x1))) → A__FIRST(a__first(mark(y0), mark(y1)), cons(mark(x0), x1))
MARK(from(X)) → MARK(X)
MARK(from(X)) → A__FROM(mark(X))
MARK(sel(s(y0), first(x0, x1))) → A__SEL(s(mark(y0)), a__first(mark(x0), mark(x1)))
MARK(sel(from(y0), from(x0))) → A__SEL(a__from(mark(y0)), a__from(mark(x0)))
MARK(first(s(y0), first(x0, x1))) → A__FIRST(s(mark(y0)), a__first(mark(x0), mark(x1)))
MARK(first(s(y0), sel(x0, x1))) → A__FIRST(s(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(sel(0, first(x0, x1))) → A__SEL(0, a__first(mark(x0), mark(x1)))
MARK(sel(0, sel(x0, x1))) → A__SEL(0, a__sel(mark(x0), mark(x1)))
A__SEL(s(sel(y0, y1)), cons(y2, first(x0, x1))) → A__SEL(a__sel(mark(y0), mark(y1)), a__first(mark(x0), mark(x1)))
A__SEL(s(first(y0, y1)), cons(y2, sel(x0, x1))) → A__SEL(a__first(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
A__SEL(s(0), cons(y0, from(x0))) → A__SEL(0, a__from(mark(x0)))
MARK(sel(X1, X2)) → MARK(X2)
A__SEL(s(first(y0, y1)), cons(y2, first(x0, x1))) → A__SEL(a__first(mark(y0), mark(y1)), a__first(mark(x0), mark(x1)))
MARK(sel(from(y0), first(x0, x1))) → A__SEL(a__from(mark(y0)), a__first(mark(x0), mark(x1)))
MARK(sel(first(y0, y1), from(x0))) → A__SEL(a__first(mark(y0), mark(y1)), a__from(mark(x0)))
a__from(X) → cons(mark(X), from(s(X)))
a__first(0, Z) → nil
a__first(s(X), cons(Y, Z)) → cons(mark(Y), first(X, Z))
a__sel(0, cons(X, Z)) → mark(X)
a__sel(s(X), cons(Y, Z)) → a__sel(mark(X), mark(Z))
mark(from(X)) → a__from(mark(X))
mark(first(X1, X2)) → a__first(mark(X1), mark(X2))
mark(sel(X1, X2)) → a__sel(mark(X1), mark(X2))
mark(cons(X1, X2)) → cons(mark(X1), X2)
mark(s(X)) → s(mark(X))
mark(0) → 0
mark(nil) → nil
a__from(X) → from(X)
a__first(X1, X2) → first(X1, X2)
a__sel(X1, X2) → sel(X1, X2)
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ QDPOrderProof
MARK(sel(sel(y0, y1), sel(x0, x1))) → A__SEL(a__sel(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
MARK(sel(s(y0), cons(x0, x1))) → A__SEL(s(mark(y0)), cons(mark(x0), x1))
A__SEL(s(sel(y0, y1)), cons(y2, from(x0))) → A__SEL(a__sel(mark(y0), mark(y1)), a__from(mark(x0)))
MARK(sel(first(y0, y1), first(x0, x1))) → A__SEL(a__first(mark(y0), mark(y1)), a__first(mark(x0), mark(x1)))
MARK(first(first(y0, y1), from(x0))) → A__FIRST(a__first(mark(y0), mark(y1)), a__from(mark(x0)))
MARK(first(from(y0), first(x0, x1))) → A__FIRST(a__from(mark(y0)), a__first(mark(x0), mark(x1)))
MARK(cons(X1, X2)) → MARK(X1)
MARK(first(from(y0), sel(x0, x1))) → A__FIRST(a__from(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(first(sel(y0, y1), from(x0))) → A__FIRST(a__sel(mark(y0), mark(y1)), a__from(mark(x0)))
A__SEL(s(0), cons(y0, first(x0, x1))) → A__SEL(0, a__first(mark(x0), mark(x1)))
A__SEL(s(X), cons(Y, Z)) → MARK(Z)
MARK(first(from(y0), cons(x0, x1))) → A__FIRST(a__from(mark(y0)), cons(mark(x0), x1))
MARK(sel(s(y0), from(x0))) → A__SEL(s(mark(y0)), a__from(mark(x0)))
MARK(first(sel(y0, y1), sel(x0, x1))) → A__FIRST(a__sel(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
A__SEL(s(sel(y0, y1)), cons(y2, sel(x0, x1))) → A__SEL(a__sel(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
A__SEL(s(s(y0)), cons(y1, sel(x0, x1))) → A__SEL(s(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(sel(X1, X2)) → MARK(X1)
MARK(sel(sel(y0, y1), cons(x0, x1))) → A__SEL(a__sel(mark(y0), mark(y1)), cons(mark(x0), x1))
MARK(first(from(y0), from(x0))) → A__FIRST(a__from(mark(y0)), a__from(mark(x0)))
A__SEL(s(s(y0)), cons(y1, first(x0, x1))) → A__SEL(s(mark(y0)), a__first(mark(x0), mark(x1)))
MARK(first(X1, X2)) → MARK(X2)
A__SEL(s(from(y0)), cons(y1, first(x0, x1))) → A__SEL(a__from(mark(y0)), a__first(mark(x0), mark(x1)))
A__SEL(s(sel(y0, y1)), cons(y2, cons(x0, x1))) → A__SEL(a__sel(mark(y0), mark(y1)), cons(mark(x0), x1))
A__SEL(s(s(y0)), cons(y1, cons(x0, x1))) → A__SEL(s(mark(y0)), cons(mark(x0), x1))
MARK(first(s(y0), from(x0))) → A__FIRST(s(mark(y0)), a__from(mark(x0)))
A__FROM(X) → MARK(X)
A__SEL(s(first(y0, y1)), cons(y2, cons(x0, x1))) → A__SEL(a__first(mark(y0), mark(y1)), cons(mark(x0), x1))
MARK(first(first(y0, y1), first(x0, x1))) → A__FIRST(a__first(mark(y0), mark(y1)), a__first(mark(x0), mark(x1)))
A__SEL(s(from(y0)), cons(y1, sel(x0, x1))) → A__SEL(a__from(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(sel(sel(y0, y1), from(x0))) → A__SEL(a__sel(mark(y0), mark(y1)), a__from(mark(x0)))
MARK(sel(0, cons(x0, x1))) → A__SEL(0, cons(mark(x0), x1))
MARK(sel(from(y0), sel(x0, x1))) → A__SEL(a__from(mark(y0)), a__sel(mark(x0), mark(x1)))
A__SEL(s(from(y0)), cons(y1, from(x0))) → A__SEL(a__from(mark(y0)), a__from(mark(x0)))
A__SEL(s(first(y0, y1)), cons(y2, from(x0))) → A__SEL(a__first(mark(y0), mark(y1)), a__from(mark(x0)))
MARK(first(sel(y0, y1), first(x0, x1))) → A__FIRST(a__sel(mark(y0), mark(y1)), a__first(mark(x0), mark(x1)))
MARK(first(first(y0, y1), sel(x0, x1))) → A__FIRST(a__first(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
MARK(sel(first(y0, y1), cons(x0, x1))) → A__SEL(a__first(mark(y0), mark(y1)), cons(mark(x0), x1))
A__SEL(s(0), cons(y0, sel(x0, x1))) → A__SEL(0, a__sel(mark(x0), mark(x1)))
MARK(sel(from(y0), cons(x0, x1))) → A__SEL(a__from(mark(y0)), cons(mark(x0), x1))
MARK(s(X)) → MARK(X)
MARK(sel(s(y0), sel(x0, x1))) → A__SEL(s(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(sel(sel(y0, y1), first(x0, x1))) → A__SEL(a__sel(mark(y0), mark(y1)), a__first(mark(x0), mark(x1)))
MARK(sel(first(y0, y1), sel(x0, x1))) → A__SEL(a__first(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
MARK(first(s(y0), cons(x0, x1))) → A__FIRST(s(mark(y0)), cons(mark(x0), x1))
MARK(sel(0, from(x0))) → A__SEL(0, a__from(mark(x0)))
A__SEL(0, cons(X, Z)) → MARK(X)
A__FIRST(s(X), cons(Y, Z)) → MARK(Y)
A__SEL(s(from(y0)), cons(y1, cons(x0, x1))) → A__SEL(a__from(mark(y0)), cons(mark(x0), x1))
MARK(first(sel(y0, y1), cons(x0, x1))) → A__FIRST(a__sel(mark(y0), mark(y1)), cons(mark(x0), x1))
A__SEL(s(0), cons(y0, cons(x0, x1))) → A__SEL(0, cons(mark(x0), x1))
A__SEL(s(s(y0)), cons(y1, from(x0))) → A__SEL(s(mark(y0)), a__from(mark(x0)))
A__SEL(s(X), cons(Y, Z)) → MARK(X)
MARK(first(X1, X2)) → MARK(X1)
MARK(first(first(y0, y1), cons(x0, x1))) → A__FIRST(a__first(mark(y0), mark(y1)), cons(mark(x0), x1))
MARK(from(X)) → MARK(X)
MARK(sel(s(y0), first(x0, x1))) → A__SEL(s(mark(y0)), a__first(mark(x0), mark(x1)))
MARK(from(X)) → A__FROM(mark(X))
MARK(first(s(y0), first(x0, x1))) → A__FIRST(s(mark(y0)), a__first(mark(x0), mark(x1)))
MARK(sel(from(y0), from(x0))) → A__SEL(a__from(mark(y0)), a__from(mark(x0)))
MARK(first(s(y0), sel(x0, x1))) → A__FIRST(s(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(sel(0, first(x0, x1))) → A__SEL(0, a__first(mark(x0), mark(x1)))
MARK(sel(0, sel(x0, x1))) → A__SEL(0, a__sel(mark(x0), mark(x1)))
A__SEL(s(first(y0, y1)), cons(y2, sel(x0, x1))) → A__SEL(a__first(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
A__SEL(s(sel(y0, y1)), cons(y2, first(x0, x1))) → A__SEL(a__sel(mark(y0), mark(y1)), a__first(mark(x0), mark(x1)))
A__SEL(s(0), cons(y0, from(x0))) → A__SEL(0, a__from(mark(x0)))
MARK(sel(X1, X2)) → MARK(X2)
MARK(sel(first(y0, y1), from(x0))) → A__SEL(a__first(mark(y0), mark(y1)), a__from(mark(x0)))
MARK(sel(from(y0), first(x0, x1))) → A__SEL(a__from(mark(y0)), a__first(mark(x0), mark(x1)))
A__SEL(s(first(y0, y1)), cons(y2, first(x0, x1))) → A__SEL(a__first(mark(y0), mark(y1)), a__first(mark(x0), mark(x1)))
a__from(X) → cons(mark(X), from(s(X)))
a__first(0, Z) → nil
a__first(s(X), cons(Y, Z)) → cons(mark(Y), first(X, Z))
a__sel(0, cons(X, Z)) → mark(X)
a__sel(s(X), cons(Y, Z)) → a__sel(mark(X), mark(Z))
mark(from(X)) → a__from(mark(X))
mark(first(X1, X2)) → a__first(mark(X1), mark(X2))
mark(sel(X1, X2)) → a__sel(mark(X1), mark(X2))
mark(cons(X1, X2)) → cons(mark(X1), X2)
mark(s(X)) → s(mark(X))
mark(0) → 0
mark(nil) → nil
a__from(X) → from(X)
a__first(X1, X2) → first(X1, X2)
a__sel(X1, X2) → sel(X1, X2)
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
MARK(first(first(y0, y1), from(x0))) → A__FIRST(a__first(mark(y0), mark(y1)), a__from(mark(x0)))
MARK(first(from(y0), first(x0, x1))) → A__FIRST(a__from(mark(y0)), a__first(mark(x0), mark(x1)))
MARK(first(from(y0), sel(x0, x1))) → A__FIRST(a__from(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(first(from(y0), cons(x0, x1))) → A__FIRST(a__from(mark(y0)), cons(mark(x0), x1))
MARK(first(from(y0), from(x0))) → A__FIRST(a__from(mark(y0)), a__from(mark(x0)))
MARK(first(first(y0, y1), first(x0, x1))) → A__FIRST(a__first(mark(y0), mark(y1)), a__first(mark(x0), mark(x1)))
MARK(first(first(y0, y1), sel(x0, x1))) → A__FIRST(a__first(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
MARK(first(first(y0, y1), cons(x0, x1))) → A__FIRST(a__first(mark(y0), mark(y1)), cons(mark(x0), x1))
Used ordering: Polynomial interpretation [25]:
MARK(sel(sel(y0, y1), sel(x0, x1))) → A__SEL(a__sel(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
MARK(sel(s(y0), cons(x0, x1))) → A__SEL(s(mark(y0)), cons(mark(x0), x1))
A__SEL(s(sel(y0, y1)), cons(y2, from(x0))) → A__SEL(a__sel(mark(y0), mark(y1)), a__from(mark(x0)))
MARK(sel(first(y0, y1), first(x0, x1))) → A__SEL(a__first(mark(y0), mark(y1)), a__first(mark(x0), mark(x1)))
MARK(cons(X1, X2)) → MARK(X1)
MARK(first(sel(y0, y1), from(x0))) → A__FIRST(a__sel(mark(y0), mark(y1)), a__from(mark(x0)))
A__SEL(s(0), cons(y0, first(x0, x1))) → A__SEL(0, a__first(mark(x0), mark(x1)))
A__SEL(s(X), cons(Y, Z)) → MARK(Z)
MARK(sel(s(y0), from(x0))) → A__SEL(s(mark(y0)), a__from(mark(x0)))
MARK(first(sel(y0, y1), sel(x0, x1))) → A__FIRST(a__sel(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
A__SEL(s(sel(y0, y1)), cons(y2, sel(x0, x1))) → A__SEL(a__sel(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
A__SEL(s(s(y0)), cons(y1, sel(x0, x1))) → A__SEL(s(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(sel(X1, X2)) → MARK(X1)
MARK(sel(sel(y0, y1), cons(x0, x1))) → A__SEL(a__sel(mark(y0), mark(y1)), cons(mark(x0), x1))
A__SEL(s(s(y0)), cons(y1, first(x0, x1))) → A__SEL(s(mark(y0)), a__first(mark(x0), mark(x1)))
MARK(first(X1, X2)) → MARK(X2)
A__SEL(s(from(y0)), cons(y1, first(x0, x1))) → A__SEL(a__from(mark(y0)), a__first(mark(x0), mark(x1)))
A__SEL(s(sel(y0, y1)), cons(y2, cons(x0, x1))) → A__SEL(a__sel(mark(y0), mark(y1)), cons(mark(x0), x1))
A__SEL(s(s(y0)), cons(y1, cons(x0, x1))) → A__SEL(s(mark(y0)), cons(mark(x0), x1))
MARK(first(s(y0), from(x0))) → A__FIRST(s(mark(y0)), a__from(mark(x0)))
A__FROM(X) → MARK(X)
A__SEL(s(first(y0, y1)), cons(y2, cons(x0, x1))) → A__SEL(a__first(mark(y0), mark(y1)), cons(mark(x0), x1))
A__SEL(s(from(y0)), cons(y1, sel(x0, x1))) → A__SEL(a__from(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(sel(sel(y0, y1), from(x0))) → A__SEL(a__sel(mark(y0), mark(y1)), a__from(mark(x0)))
MARK(sel(0, cons(x0, x1))) → A__SEL(0, cons(mark(x0), x1))
MARK(sel(from(y0), sel(x0, x1))) → A__SEL(a__from(mark(y0)), a__sel(mark(x0), mark(x1)))
A__SEL(s(from(y0)), cons(y1, from(x0))) → A__SEL(a__from(mark(y0)), a__from(mark(x0)))
A__SEL(s(first(y0, y1)), cons(y2, from(x0))) → A__SEL(a__first(mark(y0), mark(y1)), a__from(mark(x0)))
MARK(first(sel(y0, y1), first(x0, x1))) → A__FIRST(a__sel(mark(y0), mark(y1)), a__first(mark(x0), mark(x1)))
MARK(sel(first(y0, y1), cons(x0, x1))) → A__SEL(a__first(mark(y0), mark(y1)), cons(mark(x0), x1))
A__SEL(s(0), cons(y0, sel(x0, x1))) → A__SEL(0, a__sel(mark(x0), mark(x1)))
MARK(sel(from(y0), cons(x0, x1))) → A__SEL(a__from(mark(y0)), cons(mark(x0), x1))
MARK(s(X)) → MARK(X)
MARK(sel(s(y0), sel(x0, x1))) → A__SEL(s(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(sel(sel(y0, y1), first(x0, x1))) → A__SEL(a__sel(mark(y0), mark(y1)), a__first(mark(x0), mark(x1)))
MARK(sel(first(y0, y1), sel(x0, x1))) → A__SEL(a__first(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
MARK(first(s(y0), cons(x0, x1))) → A__FIRST(s(mark(y0)), cons(mark(x0), x1))
MARK(sel(0, from(x0))) → A__SEL(0, a__from(mark(x0)))
A__SEL(0, cons(X, Z)) → MARK(X)
A__FIRST(s(X), cons(Y, Z)) → MARK(Y)
A__SEL(s(from(y0)), cons(y1, cons(x0, x1))) → A__SEL(a__from(mark(y0)), cons(mark(x0), x1))
MARK(first(sel(y0, y1), cons(x0, x1))) → A__FIRST(a__sel(mark(y0), mark(y1)), cons(mark(x0), x1))
A__SEL(s(0), cons(y0, cons(x0, x1))) → A__SEL(0, cons(mark(x0), x1))
A__SEL(s(s(y0)), cons(y1, from(x0))) → A__SEL(s(mark(y0)), a__from(mark(x0)))
A__SEL(s(X), cons(Y, Z)) → MARK(X)
MARK(first(X1, X2)) → MARK(X1)
MARK(from(X)) → MARK(X)
MARK(sel(s(y0), first(x0, x1))) → A__SEL(s(mark(y0)), a__first(mark(x0), mark(x1)))
MARK(from(X)) → A__FROM(mark(X))
MARK(first(s(y0), first(x0, x1))) → A__FIRST(s(mark(y0)), a__first(mark(x0), mark(x1)))
MARK(sel(from(y0), from(x0))) → A__SEL(a__from(mark(y0)), a__from(mark(x0)))
MARK(first(s(y0), sel(x0, x1))) → A__FIRST(s(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(sel(0, first(x0, x1))) → A__SEL(0, a__first(mark(x0), mark(x1)))
MARK(sel(0, sel(x0, x1))) → A__SEL(0, a__sel(mark(x0), mark(x1)))
A__SEL(s(first(y0, y1)), cons(y2, sel(x0, x1))) → A__SEL(a__first(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
A__SEL(s(sel(y0, y1)), cons(y2, first(x0, x1))) → A__SEL(a__sel(mark(y0), mark(y1)), a__first(mark(x0), mark(x1)))
A__SEL(s(0), cons(y0, from(x0))) → A__SEL(0, a__from(mark(x0)))
MARK(sel(X1, X2)) → MARK(X2)
MARK(sel(first(y0, y1), from(x0))) → A__SEL(a__first(mark(y0), mark(y1)), a__from(mark(x0)))
MARK(sel(from(y0), first(x0, x1))) → A__SEL(a__from(mark(y0)), a__first(mark(x0), mark(x1)))
A__SEL(s(first(y0, y1)), cons(y2, first(x0, x1))) → A__SEL(a__first(mark(y0), mark(y1)), a__first(mark(x0), mark(x1)))
POL(0) = 0
POL(A__FIRST(x1, x2)) = x1
POL(A__FROM(x1)) = 1
POL(A__SEL(x1, x2)) = 1
POL(MARK(x1)) = 1
POL(a__first(x1, x2)) = 0
POL(a__from(x1)) = 0
POL(a__sel(x1, x2)) = 1
POL(cons(x1, x2)) = 0
POL(first(x1, x2)) = 0
POL(from(x1)) = 0
POL(mark(x1)) = 1
POL(nil) = 0
POL(s(x1)) = 1
POL(sel(x1, x2)) = 0
a__first(s(X), cons(Y, Z)) → cons(mark(Y), first(X, Z))
a__from(X) → cons(mark(X), from(s(X)))
a__first(0, Z) → nil
mark(first(X1, X2)) → a__first(mark(X1), mark(X2))
a__sel(0, cons(X, Z)) → mark(X)
a__sel(s(X), cons(Y, Z)) → a__sel(mark(X), mark(Z))
mark(sel(X1, X2)) → a__sel(mark(X1), mark(X2))
mark(from(X)) → a__from(mark(X))
mark(nil) → nil
mark(0) → 0
mark(s(X)) → s(mark(X))
mark(cons(X1, X2)) → cons(mark(X1), X2)
a__sel(X1, X2) → sel(X1, X2)
a__first(X1, X2) → first(X1, X2)
a__from(X) → from(X)
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ QDPOrderProof
MARK(sel(sel(y0, y1), sel(x0, x1))) → A__SEL(a__sel(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
MARK(sel(s(y0), cons(x0, x1))) → A__SEL(s(mark(y0)), cons(mark(x0), x1))
A__SEL(s(sel(y0, y1)), cons(y2, from(x0))) → A__SEL(a__sel(mark(y0), mark(y1)), a__from(mark(x0)))
MARK(sel(first(y0, y1), first(x0, x1))) → A__SEL(a__first(mark(y0), mark(y1)), a__first(mark(x0), mark(x1)))
MARK(cons(X1, X2)) → MARK(X1)
MARK(first(sel(y0, y1), from(x0))) → A__FIRST(a__sel(mark(y0), mark(y1)), a__from(mark(x0)))
A__SEL(s(0), cons(y0, first(x0, x1))) → A__SEL(0, a__first(mark(x0), mark(x1)))
A__SEL(s(X), cons(Y, Z)) → MARK(Z)
MARK(sel(s(y0), from(x0))) → A__SEL(s(mark(y0)), a__from(mark(x0)))
MARK(first(sel(y0, y1), sel(x0, x1))) → A__FIRST(a__sel(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
A__SEL(s(sel(y0, y1)), cons(y2, sel(x0, x1))) → A__SEL(a__sel(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
A__SEL(s(s(y0)), cons(y1, sel(x0, x1))) → A__SEL(s(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(sel(X1, X2)) → MARK(X1)
MARK(sel(sel(y0, y1), cons(x0, x1))) → A__SEL(a__sel(mark(y0), mark(y1)), cons(mark(x0), x1))
A__SEL(s(from(y0)), cons(y1, first(x0, x1))) → A__SEL(a__from(mark(y0)), a__first(mark(x0), mark(x1)))
MARK(first(X1, X2)) → MARK(X2)
A__SEL(s(s(y0)), cons(y1, first(x0, x1))) → A__SEL(s(mark(y0)), a__first(mark(x0), mark(x1)))
A__SEL(s(sel(y0, y1)), cons(y2, cons(x0, x1))) → A__SEL(a__sel(mark(y0), mark(y1)), cons(mark(x0), x1))
A__SEL(s(s(y0)), cons(y1, cons(x0, x1))) → A__SEL(s(mark(y0)), cons(mark(x0), x1))
A__FROM(X) → MARK(X)
MARK(first(s(y0), from(x0))) → A__FIRST(s(mark(y0)), a__from(mark(x0)))
A__SEL(s(first(y0, y1)), cons(y2, cons(x0, x1))) → A__SEL(a__first(mark(y0), mark(y1)), cons(mark(x0), x1))
A__SEL(s(from(y0)), cons(y1, sel(x0, x1))) → A__SEL(a__from(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(sel(0, cons(x0, x1))) → A__SEL(0, cons(mark(x0), x1))
MARK(sel(sel(y0, y1), from(x0))) → A__SEL(a__sel(mark(y0), mark(y1)), a__from(mark(x0)))
MARK(sel(from(y0), sel(x0, x1))) → A__SEL(a__from(mark(y0)), a__sel(mark(x0), mark(x1)))
A__SEL(s(from(y0)), cons(y1, from(x0))) → A__SEL(a__from(mark(y0)), a__from(mark(x0)))
A__SEL(s(first(y0, y1)), cons(y2, from(x0))) → A__SEL(a__first(mark(y0), mark(y1)), a__from(mark(x0)))
MARK(first(sel(y0, y1), first(x0, x1))) → A__FIRST(a__sel(mark(y0), mark(y1)), a__first(mark(x0), mark(x1)))
MARK(sel(first(y0, y1), cons(x0, x1))) → A__SEL(a__first(mark(y0), mark(y1)), cons(mark(x0), x1))
A__SEL(s(0), cons(y0, sel(x0, x1))) → A__SEL(0, a__sel(mark(x0), mark(x1)))
MARK(sel(from(y0), cons(x0, x1))) → A__SEL(a__from(mark(y0)), cons(mark(x0), x1))
MARK(s(X)) → MARK(X)
MARK(sel(s(y0), sel(x0, x1))) → A__SEL(s(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(sel(sel(y0, y1), first(x0, x1))) → A__SEL(a__sel(mark(y0), mark(y1)), a__first(mark(x0), mark(x1)))
MARK(sel(first(y0, y1), sel(x0, x1))) → A__SEL(a__first(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
MARK(first(s(y0), cons(x0, x1))) → A__FIRST(s(mark(y0)), cons(mark(x0), x1))
MARK(sel(0, from(x0))) → A__SEL(0, a__from(mark(x0)))
A__SEL(0, cons(X, Z)) → MARK(X)
A__FIRST(s(X), cons(Y, Z)) → MARK(Y)
A__SEL(s(from(y0)), cons(y1, cons(x0, x1))) → A__SEL(a__from(mark(y0)), cons(mark(x0), x1))
MARK(first(sel(y0, y1), cons(x0, x1))) → A__FIRST(a__sel(mark(y0), mark(y1)), cons(mark(x0), x1))
A__SEL(s(0), cons(y0, cons(x0, x1))) → A__SEL(0, cons(mark(x0), x1))
A__SEL(s(s(y0)), cons(y1, from(x0))) → A__SEL(s(mark(y0)), a__from(mark(x0)))
A__SEL(s(X), cons(Y, Z)) → MARK(X)
MARK(first(X1, X2)) → MARK(X1)
MARK(from(X)) → MARK(X)
MARK(sel(s(y0), first(x0, x1))) → A__SEL(s(mark(y0)), a__first(mark(x0), mark(x1)))
MARK(from(X)) → A__FROM(mark(X))
MARK(sel(from(y0), from(x0))) → A__SEL(a__from(mark(y0)), a__from(mark(x0)))
MARK(first(s(y0), first(x0, x1))) → A__FIRST(s(mark(y0)), a__first(mark(x0), mark(x1)))
MARK(first(s(y0), sel(x0, x1))) → A__FIRST(s(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(sel(0, first(x0, x1))) → A__SEL(0, a__first(mark(x0), mark(x1)))
MARK(sel(0, sel(x0, x1))) → A__SEL(0, a__sel(mark(x0), mark(x1)))
A__SEL(s(sel(y0, y1)), cons(y2, first(x0, x1))) → A__SEL(a__sel(mark(y0), mark(y1)), a__first(mark(x0), mark(x1)))
A__SEL(s(first(y0, y1)), cons(y2, sel(x0, x1))) → A__SEL(a__first(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
A__SEL(s(0), cons(y0, from(x0))) → A__SEL(0, a__from(mark(x0)))
MARK(sel(X1, X2)) → MARK(X2)
A__SEL(s(first(y0, y1)), cons(y2, first(x0, x1))) → A__SEL(a__first(mark(y0), mark(y1)), a__first(mark(x0), mark(x1)))
MARK(sel(from(y0), first(x0, x1))) → A__SEL(a__from(mark(y0)), a__first(mark(x0), mark(x1)))
MARK(sel(first(y0, y1), from(x0))) → A__SEL(a__first(mark(y0), mark(y1)), a__from(mark(x0)))
a__from(X) → cons(mark(X), from(s(X)))
a__first(0, Z) → nil
a__first(s(X), cons(Y, Z)) → cons(mark(Y), first(X, Z))
a__sel(0, cons(X, Z)) → mark(X)
a__sel(s(X), cons(Y, Z)) → a__sel(mark(X), mark(Z))
mark(from(X)) → a__from(mark(X))
mark(first(X1, X2)) → a__first(mark(X1), mark(X2))
mark(sel(X1, X2)) → a__sel(mark(X1), mark(X2))
mark(cons(X1, X2)) → cons(mark(X1), X2)
mark(s(X)) → s(mark(X))
mark(0) → 0
mark(nil) → nil
a__from(X) → from(X)
a__first(X1, X2) → first(X1, X2)
a__sel(X1, X2) → sel(X1, X2)
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
MARK(sel(first(y0, y1), first(x0, x1))) → A__SEL(a__first(mark(y0), mark(y1)), a__first(mark(x0), mark(x1)))
A__SEL(s(from(y0)), cons(y1, first(x0, x1))) → A__SEL(a__from(mark(y0)), a__first(mark(x0), mark(x1)))
A__SEL(s(first(y0, y1)), cons(y2, cons(x0, x1))) → A__SEL(a__first(mark(y0), mark(y1)), cons(mark(x0), x1))
A__SEL(s(from(y0)), cons(y1, sel(x0, x1))) → A__SEL(a__from(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(sel(from(y0), sel(x0, x1))) → A__SEL(a__from(mark(y0)), a__sel(mark(x0), mark(x1)))
A__SEL(s(from(y0)), cons(y1, from(x0))) → A__SEL(a__from(mark(y0)), a__from(mark(x0)))
A__SEL(s(first(y0, y1)), cons(y2, from(x0))) → A__SEL(a__first(mark(y0), mark(y1)), a__from(mark(x0)))
MARK(sel(first(y0, y1), cons(x0, x1))) → A__SEL(a__first(mark(y0), mark(y1)), cons(mark(x0), x1))
MARK(sel(from(y0), cons(x0, x1))) → A__SEL(a__from(mark(y0)), cons(mark(x0), x1))
MARK(sel(first(y0, y1), sel(x0, x1))) → A__SEL(a__first(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
A__SEL(s(from(y0)), cons(y1, cons(x0, x1))) → A__SEL(a__from(mark(y0)), cons(mark(x0), x1))
MARK(sel(from(y0), from(x0))) → A__SEL(a__from(mark(y0)), a__from(mark(x0)))
A__SEL(s(first(y0, y1)), cons(y2, sel(x0, x1))) → A__SEL(a__first(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
A__SEL(s(first(y0, y1)), cons(y2, first(x0, x1))) → A__SEL(a__first(mark(y0), mark(y1)), a__first(mark(x0), mark(x1)))
MARK(sel(from(y0), first(x0, x1))) → A__SEL(a__from(mark(y0)), a__first(mark(x0), mark(x1)))
MARK(sel(first(y0, y1), from(x0))) → A__SEL(a__first(mark(y0), mark(y1)), a__from(mark(x0)))
Used ordering: Polynomial interpretation [25]:
MARK(sel(sel(y0, y1), sel(x0, x1))) → A__SEL(a__sel(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
MARK(sel(s(y0), cons(x0, x1))) → A__SEL(s(mark(y0)), cons(mark(x0), x1))
A__SEL(s(sel(y0, y1)), cons(y2, from(x0))) → A__SEL(a__sel(mark(y0), mark(y1)), a__from(mark(x0)))
MARK(cons(X1, X2)) → MARK(X1)
MARK(first(sel(y0, y1), from(x0))) → A__FIRST(a__sel(mark(y0), mark(y1)), a__from(mark(x0)))
A__SEL(s(0), cons(y0, first(x0, x1))) → A__SEL(0, a__first(mark(x0), mark(x1)))
A__SEL(s(X), cons(Y, Z)) → MARK(Z)
MARK(sel(s(y0), from(x0))) → A__SEL(s(mark(y0)), a__from(mark(x0)))
MARK(first(sel(y0, y1), sel(x0, x1))) → A__FIRST(a__sel(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
A__SEL(s(sel(y0, y1)), cons(y2, sel(x0, x1))) → A__SEL(a__sel(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
A__SEL(s(s(y0)), cons(y1, sel(x0, x1))) → A__SEL(s(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(sel(X1, X2)) → MARK(X1)
MARK(sel(sel(y0, y1), cons(x0, x1))) → A__SEL(a__sel(mark(y0), mark(y1)), cons(mark(x0), x1))
MARK(first(X1, X2)) → MARK(X2)
A__SEL(s(s(y0)), cons(y1, first(x0, x1))) → A__SEL(s(mark(y0)), a__first(mark(x0), mark(x1)))
A__SEL(s(sel(y0, y1)), cons(y2, cons(x0, x1))) → A__SEL(a__sel(mark(y0), mark(y1)), cons(mark(x0), x1))
A__SEL(s(s(y0)), cons(y1, cons(x0, x1))) → A__SEL(s(mark(y0)), cons(mark(x0), x1))
A__FROM(X) → MARK(X)
MARK(first(s(y0), from(x0))) → A__FIRST(s(mark(y0)), a__from(mark(x0)))
MARK(sel(0, cons(x0, x1))) → A__SEL(0, cons(mark(x0), x1))
MARK(sel(sel(y0, y1), from(x0))) → A__SEL(a__sel(mark(y0), mark(y1)), a__from(mark(x0)))
MARK(first(sel(y0, y1), first(x0, x1))) → A__FIRST(a__sel(mark(y0), mark(y1)), a__first(mark(x0), mark(x1)))
A__SEL(s(0), cons(y0, sel(x0, x1))) → A__SEL(0, a__sel(mark(x0), mark(x1)))
MARK(s(X)) → MARK(X)
MARK(sel(s(y0), sel(x0, x1))) → A__SEL(s(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(sel(sel(y0, y1), first(x0, x1))) → A__SEL(a__sel(mark(y0), mark(y1)), a__first(mark(x0), mark(x1)))
MARK(first(s(y0), cons(x0, x1))) → A__FIRST(s(mark(y0)), cons(mark(x0), x1))
MARK(sel(0, from(x0))) → A__SEL(0, a__from(mark(x0)))
A__SEL(0, cons(X, Z)) → MARK(X)
A__FIRST(s(X), cons(Y, Z)) → MARK(Y)
MARK(first(sel(y0, y1), cons(x0, x1))) → A__FIRST(a__sel(mark(y0), mark(y1)), cons(mark(x0), x1))
A__SEL(s(0), cons(y0, cons(x0, x1))) → A__SEL(0, cons(mark(x0), x1))
A__SEL(s(s(y0)), cons(y1, from(x0))) → A__SEL(s(mark(y0)), a__from(mark(x0)))
A__SEL(s(X), cons(Y, Z)) → MARK(X)
MARK(first(X1, X2)) → MARK(X1)
MARK(from(X)) → MARK(X)
MARK(sel(s(y0), first(x0, x1))) → A__SEL(s(mark(y0)), a__first(mark(x0), mark(x1)))
MARK(from(X)) → A__FROM(mark(X))
MARK(first(s(y0), first(x0, x1))) → A__FIRST(s(mark(y0)), a__first(mark(x0), mark(x1)))
MARK(first(s(y0), sel(x0, x1))) → A__FIRST(s(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(sel(0, first(x0, x1))) → A__SEL(0, a__first(mark(x0), mark(x1)))
MARK(sel(0, sel(x0, x1))) → A__SEL(0, a__sel(mark(x0), mark(x1)))
A__SEL(s(sel(y0, y1)), cons(y2, first(x0, x1))) → A__SEL(a__sel(mark(y0), mark(y1)), a__first(mark(x0), mark(x1)))
A__SEL(s(0), cons(y0, from(x0))) → A__SEL(0, a__from(mark(x0)))
MARK(sel(X1, X2)) → MARK(X2)
POL(0) = 1
POL(A__FIRST(x1, x2)) = x1
POL(A__FROM(x1)) = 1
POL(A__SEL(x1, x2)) = x1
POL(MARK(x1)) = 1
POL(a__first(x1, x2)) = 0
POL(a__from(x1)) = 0
POL(a__sel(x1, x2)) = x1
POL(cons(x1, x2)) = 0
POL(first(x1, x2)) = 0
POL(from(x1)) = 0
POL(mark(x1)) = 1
POL(nil) = 0
POL(s(x1)) = 1
POL(sel(x1, x2)) = 0
a__first(s(X), cons(Y, Z)) → cons(mark(Y), first(X, Z))
a__from(X) → cons(mark(X), from(s(X)))
a__first(0, Z) → nil
mark(first(X1, X2)) → a__first(mark(X1), mark(X2))
a__sel(0, cons(X, Z)) → mark(X)
a__sel(s(X), cons(Y, Z)) → a__sel(mark(X), mark(Z))
mark(sel(X1, X2)) → a__sel(mark(X1), mark(X2))
mark(from(X)) → a__from(mark(X))
mark(nil) → nil
mark(0) → 0
mark(s(X)) → s(mark(X))
mark(cons(X1, X2)) → cons(mark(X1), X2)
a__sel(X1, X2) → sel(X1, X2)
a__first(X1, X2) → first(X1, X2)
a__from(X) → from(X)
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ QDPOrderProof
↳ QDP
MARK(sel(sel(y0, y1), sel(x0, x1))) → A__SEL(a__sel(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
MARK(sel(s(y0), cons(x0, x1))) → A__SEL(s(mark(y0)), cons(mark(x0), x1))
MARK(s(X)) → MARK(X)
A__SEL(s(sel(y0, y1)), cons(y2, from(x0))) → A__SEL(a__sel(mark(y0), mark(y1)), a__from(mark(x0)))
MARK(sel(sel(y0, y1), first(x0, x1))) → A__SEL(a__sel(mark(y0), mark(y1)), a__first(mark(x0), mark(x1)))
MARK(sel(s(y0), sel(x0, x1))) → A__SEL(s(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(cons(X1, X2)) → MARK(X1)
MARK(first(s(y0), cons(x0, x1))) → A__FIRST(s(mark(y0)), cons(mark(x0), x1))
MARK(first(sel(y0, y1), from(x0))) → A__FIRST(a__sel(mark(y0), mark(y1)), a__from(mark(x0)))
A__SEL(0, cons(X, Z)) → MARK(X)
MARK(sel(0, from(x0))) → A__SEL(0, a__from(mark(x0)))
A__FIRST(s(X), cons(Y, Z)) → MARK(Y)
A__SEL(s(0), cons(y0, first(x0, x1))) → A__SEL(0, a__first(mark(x0), mark(x1)))
MARK(first(sel(y0, y1), cons(x0, x1))) → A__FIRST(a__sel(mark(y0), mark(y1)), cons(mark(x0), x1))
A__SEL(s(X), cons(Y, Z)) → MARK(Z)
MARK(sel(s(y0), from(x0))) → A__SEL(s(mark(y0)), a__from(mark(x0)))
A__SEL(s(0), cons(y0, cons(x0, x1))) → A__SEL(0, cons(mark(x0), x1))
A__SEL(s(s(y0)), cons(y1, from(x0))) → A__SEL(s(mark(y0)), a__from(mark(x0)))
A__SEL(s(X), cons(Y, Z)) → MARK(X)
MARK(first(sel(y0, y1), sel(x0, x1))) → A__FIRST(a__sel(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
MARK(first(X1, X2)) → MARK(X1)
A__SEL(s(sel(y0, y1)), cons(y2, sel(x0, x1))) → A__SEL(a__sel(mark(y0), mark(y1)), a__sel(mark(x0), mark(x1)))
A__SEL(s(s(y0)), cons(y1, sel(x0, x1))) → A__SEL(s(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(from(X)) → MARK(X)
MARK(sel(X1, X2)) → MARK(X1)
MARK(from(X)) → A__FROM(mark(X))
MARK(sel(s(y0), first(x0, x1))) → A__SEL(s(mark(y0)), a__first(mark(x0), mark(x1)))
MARK(first(s(y0), first(x0, x1))) → A__FIRST(s(mark(y0)), a__first(mark(x0), mark(x1)))
MARK(sel(sel(y0, y1), cons(x0, x1))) → A__SEL(a__sel(mark(y0), mark(y1)), cons(mark(x0), x1))
MARK(first(s(y0), sel(x0, x1))) → A__FIRST(s(mark(y0)), a__sel(mark(x0), mark(x1)))
MARK(first(X1, X2)) → MARK(X2)
A__SEL(s(s(y0)), cons(y1, first(x0, x1))) → A__SEL(s(mark(y0)), a__first(mark(x0), mark(x1)))
A__SEL(s(sel(y0, y1)), cons(y2, cons(x0, x1))) → A__SEL(a__sel(mark(y0), mark(y1)), cons(mark(x0), x1))
MARK(sel(0, first(x0, x1))) → A__SEL(0, a__first(mark(x0), mark(x1)))
A__SEL(s(s(y0)), cons(y1, cons(x0, x1))) → A__SEL(s(mark(y0)), cons(mark(x0), x1))
A__FROM(X) → MARK(X)
MARK(first(s(y0), from(x0))) → A__FIRST(s(mark(y0)), a__from(mark(x0)))
MARK(sel(0, sel(x0, x1))) → A__SEL(0, a__sel(mark(x0), mark(x1)))
A__SEL(s(sel(y0, y1)), cons(y2, first(x0, x1))) → A__SEL(a__sel(mark(y0), mark(y1)), a__first(mark(x0), mark(x1)))
MARK(sel(0, cons(x0, x1))) → A__SEL(0, cons(mark(x0), x1))
MARK(sel(sel(y0, y1), from(x0))) → A__SEL(a__sel(mark(y0), mark(y1)), a__from(mark(x0)))
A__SEL(s(0), cons(y0, from(x0))) → A__SEL(0, a__from(mark(x0)))
MARK(first(sel(y0, y1), first(x0, x1))) → A__FIRST(a__sel(mark(y0), mark(y1)), a__first(mark(x0), mark(x1)))
A__SEL(s(0), cons(y0, sel(x0, x1))) → A__SEL(0, a__sel(mark(x0), mark(x1)))
MARK(sel(X1, X2)) → MARK(X2)
a__from(X) → cons(mark(X), from(s(X)))
a__first(0, Z) → nil
a__first(s(X), cons(Y, Z)) → cons(mark(Y), first(X, Z))
a__sel(0, cons(X, Z)) → mark(X)
a__sel(s(X), cons(Y, Z)) → a__sel(mark(X), mark(Z))
mark(from(X)) → a__from(mark(X))
mark(first(X1, X2)) → a__first(mark(X1), mark(X2))
mark(sel(X1, X2)) → a__sel(mark(X1), mark(X2))
mark(cons(X1, X2)) → cons(mark(X1), X2)
mark(s(X)) → s(mark(X))
mark(0) → 0
mark(nil) → nil
a__from(X) → from(X)
a__first(X1, X2) → first(X1, X2)
a__sel(X1, X2) → sel(X1, X2)